diff mbox series

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

Message ID 20241016211437.39454-2-ian.whitfield@canonical.com
State New
Headers show
Series Disable Multi-Gen LRU | expand

Commit Message

Ian Whitfield Oct. 16, 2024, 9:14 p.m. UTC
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@canonical.com>
---
 debian.gke/config/annotations | 8 ++++++++
 1 file changed, 8 insertions(+)
diff mbox series

Patch

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'}>