[SRU][N:linux-gke][PATCH 1/1] UBUNTU: gke: Disable Multi-Gen LRU

Ian Whitfield ian.whitfield at canonical.com
Wed Oct 16 21:14:37 UTC 2024


BugLink: https://bugs.launchpad.net/bugs/2084716

Due to upstream Kubernetes issue #127844, Multi-Gen LRU has been
requested by Google to be disabled until a permanent fix is
implemented. This feature unintentionally changed the output of
kubelet's memory usage calculations in an unexpected way.

Docs on Multi-Gen LRU:
https://docs.kernel.org/admin-guide/mm/multigen_lru.html

Signed-off-by: Ian Whitfield <ian.whitfield at canonical.com>
---
 debian.gke/config/annotations | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/debian.gke/config/annotations b/debian.gke/config/annotations
index acac42303da2..7f760e6f95ad 100644
--- a/debian.gke/config/annotations
+++ b/debian.gke/config/annotations
@@ -32,6 +32,12 @@ CONFIG_KERNEL_ZSTD                              note<'LP: #1931725'>
 CONFIG_LOOPBACK_TARGET                          policy<{'amd64': 'm', 'arm64': 'm'}>
 CONFIG_LOOPBACK_TARGET                          note<'Specifically requested by GKE. Must ensure tcm_loop.ko is in default module list'>
 
+CONFIG_LRU_GEN                                  policy<{'amd64': 'n', 'arm64': 'n'}>
+CONFIG_LRU_GEN                                  note<'Requested by GKE, LP: #2084716'>
+
+CONFIG_LRU_GEN_ENABLED                          policy<{'amd64': '-', 'arm64': '-'}>
+CONFIG_LRU_GEN_ENABLED                          note<'Requested by GKE, LP: #2084716'>
+
 CONFIG_NETFILTER_NETLINK_LOG                    policy<{'amd64': 'y', 'arm64': 'y'}>
 CONFIG_NETFILTER_NETLINK_LOG                    note<'initial packaging'>
 
@@ -211,6 +217,8 @@ CONFIG_KERNEL_GZIP                              policy<{'amd64': 'n', 'arm64': '
 CONFIG_LEDS_AAEON                               policy<{'amd64': '-'}>
 CONFIG_LEDS_BCM63138                            policy<{'arm64': 'm'}>
 CONFIG_LIBCRC32C                                policy<{'amd64': 'y', 'arm64': 'y'}>
+CONFIG_LRU_GEN_STATS                            policy<{'amd64': '-', 'arm64': '-'}>
+CONFIG_LRU_GEN_WALKS_MMU                        policy<{'amd64': '-', 'arm64': '-'}>
 CONFIG_LSM                                      policy<{'amd64': '"landlock,lockdown,yama,integrity,apparmor,bpf"', 'arm64': '"landlock,lockdown,yama,integrity,apparmor,bpf"'}>
 CONFIG_MARVELL_GTI_WDT                          policy<{'arm64': 'm'}>
 CONFIG_MDIO_BCM_IPROC                           policy<{'arm64': 'n'}>
-- 
2.43.0




More information about the kernel-team mailing list