diff options
author | Josh Boyer <jwboyer@redhat.com> | 2014-03-27 18:31:16 -0400 |
---|---|---|
committer | Josh Boyer <jwboyer@redhat.com> | 2014-03-27 18:31:27 -0400 |
commit | 9a031d5070d9f8f5916c48637bd0c237cd52eaf9 (patch) | |
tree | 8b17453ea2bb9e2b8bd3166bf0740d090cdd8ae2 /config-x86_64-generic | |
parent | 5b9ddb97b786b664512caefbdc3e1b7cfb937b80 (diff) | |
download | kernel-9a031d5070d9f8f5916c48637bd0c237cd52eaf9.tar.gz kernel-9a031d5070d9f8f5916c48637bd0c237cd52eaf9.tar.xz kernel-9a031d5070d9f8f5916c48637bd0c237cd52eaf9.zip |
Switch to CONFIG_TRANSPARENT_HUGEPAGE_MADVISE instead of always on
The benefit of THP has been somewhat questionable overall for a while,
and it's been known to cause performance issues with some workloads.
Upstream also considers it to be overly complicated and really not worth
it on machines with memory in the amounts found on typical desktops/SMB
servers.
Switch to using it via madvise, which most applications that care about
it should likely already be doing.
Diffstat (limited to 'config-x86_64-generic')
-rw-r--r-- | config-x86_64-generic | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config-x86_64-generic b/config-x86_64-generic index dfd56a5b4..02883b84b 100644 --- a/config-x86_64-generic +++ b/config-x86_64-generic @@ -37,6 +37,7 @@ CONFIG_SWIOTLB=y # CONFIG_GART_IOMMU is not set CONFIG_TRANSPARENT_HUGEPAGE=y +CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=y CONFIG_CGROUP_HUGETLB=y CONFIG_MEM_SOFT_DIRTY=y |