]> git.ipfire.org Git - thirdparty/openwrt.git/commit
kernel: add Kconfig options for ARM64_BRBE and THP enhancements on 6.18 23703/head
authorJoshua Covington <joshuacov@gmail.com>
Fri, 26 Jun 2026 12:22:45 +0000 (12:22 +0000)
committerJonas Jelonek <jelonek.jonas@gmail.com>
Tue, 7 Jul 2026 06:48:42 +0000 (08:48 +0200)
commit7c69452c6a97aa463fcabaa899c18158a721207e
treed9c6112776770f36bb5c2ddacd19c43d139cee2b
parentfa65dfa9d58838ad6b2cf1e9c2bb552a98ec6fb9
kernel: add Kconfig options for ARM64_BRBE and THP enhancements on 6.18

Introduce new kernel configuration options for memory management
and hardware-profiling features:

- KERNEL_ARM64_BRBE: Enables support for the Branch Record Buffer
  Extension (FEAT_BRBE) on ARM64 architectures when perf events are active.
- KERNEL_PERSISTENT_HUGE_ZERO_FOLIO: Allows allocating a PMD-sized
  folio for zeroing, optimizing Transparent Hugepage (THP) allocation
  performance.
- KERNEL_NO_PAGE_MAPCOUNT: Adds experimental support for bypassing
  per-page mapcount tracking to reduce memory accounting overhead under THP.

These options map directly to their respective kernel options and are
applicable on 6.18 and later.

Signed-off-by: Joshua Covington <joshuacov@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/23703
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
config/Config-kernel.in