]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
config: add new TRANSPARENT_HUGEPAGE choice for 6.12 kernel 18663/head
authorMieczyslaw Nalewaj <namiltd@yahoo.com>
Thu, 1 May 2025 05:48:59 +0000 (07:48 +0200)
committerRobert Marko <robimarko@gmail.com>
Thu, 1 May 2025 18:19:44 +0000 (20:19 +0200)
Kernel 6.12 has a new selection for TRANSPARENT_HUGEPAGE.
Add them here to avoid missing symbols.

Ref: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=683ec99f12f4c386c23bed7f6a8ef44db5a4999a

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/18663
Signed-off-by: Robert Marko <robimarko@gmail.com>
config/Config-kernel.in

index 95bcc2146a6fd1922c8f14602b0d89b48b571348..1fc27dec58d22fbec8f044ab56ea45186789c381 100644 (file)
@@ -607,6 +607,10 @@ choice
 
        config KERNEL_TRANSPARENT_HUGEPAGE_MADVISE
                bool "madvise"
+
+       config KERNEL_TRANSPARENT_HUGEPAGE_NEVER
+               bool "never"
+               depends on !LINUX_6_6
 endchoice
 
 config KERNEL_HUGETLBFS