linux{4.19,5.0}: switch to CONFIG_TRANSPARENT_HUGEPAGE_MADVISE.
Do not enable THP by default, only if requested by the application. See https://blog.nelhage.com/post/transparent-hugepages/ for more information. This makes our kernels work oob with qubes os. [ci skip]
This commit is contained in:
parent
2c2c13d052
commit
79d20385b1
10 changed files with 18 additions and 18 deletions
|
@ -950,8 +950,8 @@ CONFIG_MMU_NOTIFIER=y
|
|||
CONFIG_KSM=y
|
||||
CONFIG_DEFAULT_MMAP_MIN_ADDR=65536
|
||||
CONFIG_TRANSPARENT_HUGEPAGE=y
|
||||
CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS=y
|
||||
# CONFIG_TRANSPARENT_HUGEPAGE_MADVISE is not set
|
||||
# CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS is not set
|
||||
CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=y
|
||||
CONFIG_TRANSPARENT_HUGE_PAGECACHE=y
|
||||
CONFIG_CLEANCACHE=y
|
||||
CONFIG_FRONTSWAP=y
|
||||
|
|
|
@ -820,8 +820,8 @@ CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y
|
|||
CONFIG_MEMORY_FAILURE=y
|
||||
# CONFIG_HWPOISON_INJECT is not set
|
||||
CONFIG_TRANSPARENT_HUGEPAGE=y
|
||||
CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS=y
|
||||
# CONFIG_TRANSPARENT_HUGEPAGE_MADVISE is not set
|
||||
# CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS is not set
|
||||
CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=y
|
||||
CONFIG_TRANSPARENT_HUGE_PAGECACHE=y
|
||||
CONFIG_CLEANCACHE=y
|
||||
CONFIG_FRONTSWAP=y
|
||||
|
|
|
@ -755,8 +755,8 @@ CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y
|
|||
CONFIG_MEMORY_FAILURE=y
|
||||
# CONFIG_HWPOISON_INJECT is not set
|
||||
CONFIG_TRANSPARENT_HUGEPAGE=y
|
||||
CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS=y
|
||||
# CONFIG_TRANSPARENT_HUGEPAGE_MADVISE is not set
|
||||
# CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS is not set
|
||||
CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=y
|
||||
CONFIG_TRANSPARENT_HUGE_PAGECACHE=y
|
||||
CONFIG_CLEANCACHE=y
|
||||
CONFIG_FRONTSWAP=y
|
||||
|
|
|
@ -983,8 +983,8 @@ CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y
|
|||
CONFIG_MEMORY_FAILURE=y
|
||||
# CONFIG_HWPOISON_INJECT is not set
|
||||
CONFIG_TRANSPARENT_HUGEPAGE=y
|
||||
CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS=y
|
||||
# CONFIG_TRANSPARENT_HUGEPAGE_MADVISE is not set
|
||||
# CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS is not set
|
||||
CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=y
|
||||
CONFIG_ARCH_WANTS_THP_SWAP=y
|
||||
CONFIG_THP_SWAP=y
|
||||
CONFIG_TRANSPARENT_HUGE_PAGECACHE=y
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'linux4.19'
|
||||
pkgname=linux4.19
|
||||
version=4.19.28
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="linux-${version}"
|
||||
short_desc="The Linux kernel and modules (${version%.*} series)"
|
||||
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
|
||||
|
|
|
@ -856,8 +856,8 @@ CONFIG_MMU_NOTIFIER=y
|
|||
CONFIG_KSM=y
|
||||
CONFIG_DEFAULT_MMAP_MIN_ADDR=65536
|
||||
CONFIG_TRANSPARENT_HUGEPAGE=y
|
||||
CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS=y
|
||||
# CONFIG_TRANSPARENT_HUGEPAGE_MADVISE is not set
|
||||
# CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS is not set
|
||||
CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=y
|
||||
CONFIG_TRANSPARENT_HUGE_PAGECACHE=y
|
||||
CONFIG_CLEANCACHE=y
|
||||
CONFIG_FRONTSWAP=y
|
||||
|
|
|
@ -742,8 +742,8 @@ CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y
|
|||
CONFIG_MEMORY_FAILURE=y
|
||||
# CONFIG_HWPOISON_INJECT is not set
|
||||
CONFIG_TRANSPARENT_HUGEPAGE=y
|
||||
CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS=y
|
||||
# CONFIG_TRANSPARENT_HUGEPAGE_MADVISE is not set
|
||||
# CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS is not set
|
||||
CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=y
|
||||
CONFIG_TRANSPARENT_HUGE_PAGECACHE=y
|
||||
CONFIG_CLEANCACHE=y
|
||||
CONFIG_FRONTSWAP=y
|
||||
|
|
|
@ -678,8 +678,8 @@ CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y
|
|||
CONFIG_MEMORY_FAILURE=y
|
||||
# CONFIG_HWPOISON_INJECT is not set
|
||||
CONFIG_TRANSPARENT_HUGEPAGE=y
|
||||
CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS=y
|
||||
# CONFIG_TRANSPARENT_HUGEPAGE_MADVISE is not set
|
||||
# CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS is not set
|
||||
CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=y
|
||||
CONFIG_TRANSPARENT_HUGE_PAGECACHE=y
|
||||
CONFIG_CLEANCACHE=y
|
||||
CONFIG_FRONTSWAP=y
|
||||
|
|
|
@ -889,8 +889,8 @@ CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y
|
|||
CONFIG_MEMORY_FAILURE=y
|
||||
# CONFIG_HWPOISON_INJECT is not set
|
||||
CONFIG_TRANSPARENT_HUGEPAGE=y
|
||||
CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS=y
|
||||
# CONFIG_TRANSPARENT_HUGEPAGE_MADVISE is not set
|
||||
# CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS is not set
|
||||
CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=y
|
||||
CONFIG_ARCH_WANTS_THP_SWAP=y
|
||||
CONFIG_THP_SWAP=y
|
||||
CONFIG_TRANSPARENT_HUGE_PAGECACHE=y
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'linux5.0'
|
||||
pkgname=linux5.0
|
||||
version=5.0.1
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="linux-${version}"
|
||||
short_desc="The Linux kernel and modules (${version%.*} series)"
|
||||
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
|
||||
|
|
Loading…
Reference in a new issue