[openwrt/openwrt] config: add new TRANSPARENT_HUGEPAGE choice for 6.12 kernel

LEDE Commits lede-commits at lists.infradead.org
Thu May 1 11:19:47 PDT 2025


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/84f433dfeb26dc76fe4870b5dcf12c946c5a5d70

commit 84f433dfeb26dc76fe4870b5dcf12c946c5a5d70
Author: Mieczyslaw Nalewaj <namiltd at yahoo.com>
AuthorDate: Thu May 1 07:48:59 2025 +0200

    config: add new TRANSPARENT_HUGEPAGE choice for 6.12 kernel
    
    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 at yahoo.com>
    Link: https://github.com/openwrt/openwrt/pull/18663
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 config/Config-kernel.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index 95bcc2146a..1fc27dec58 100644
--- a/config/Config-kernel.in
+++ b/config/Config-kernel.in
@@ -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




More information about the lede-commits mailing list