Skip to content

Commit

Permalink
[Kernel Config] enable mTHP by default
Browse files Browse the repository at this point in the history
Linux 6.12 added mTHP swapin and khugepaged shrinker, so now (m)THP is almost a free performance boost
  • Loading branch information
Andarwinux committed Dec 17, 2024
1 parent 23d992b commit 41a6299
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wsl2_defconfig.MAIN
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ CONFIG_HZ_1000=y
CONFIG_PHYSICAL_ALIGN=0x1000000
CONFIG_LEGACY_VSYSCALL_NONE=y
CONFIG_CMDLINE_BOOL=y
CONFIG_CMDLINE="cgroup_no_v1=all systemd.unified_cgroup_hierarchy=1"
CONFIG_CMDLINE="cgroup_no_v1=all systemd.unified_cgroup_hierarchy=1 thp_anon=16K-2M:inherit"
# CONFIG_MODIFY_LDT_SYSCALL is not set
# CONFIG_SUSPEND is not set
# CONFIG_ACPI_SPCR_TABLE is not set
Expand Down

0 comments on commit 41a6299

Please sign in to comment.