View previous topic :: View next topic |
Author |
Message |
Bili Oslavi n00b
Joined: 12 Mar 2023 Posts: 18
|
Posted: Thu May 16, 2024 3:23 pm Post subject: Config_memcg_swap |
|
|
Docker is asking for CONFIG_MEMCG_SWAP to be turned on when I run their
check script /usr/share/docker/contrib/check-config.sh But I can't seem to find it
in the kernel config.
My MEMCG configs are:
Symbol: MEMCG [=y]
│ Type : bool
│ Defined at init/Kconfig:949
│ Prompt: Memory controller
│ Depends on: CGROUPS [=y]
│ Location:
│ -> General setup
│ -> Control Group support (CGROUPS [=y])
│ (1) -> Memory controller (MEMCG [=y])
│ Selects: PAGE_COUNTER [=y] && EVENTFD [=y]
│
│ Symbol: MEMCG_KMEM [=y]
│ Type : bool
│ Defined at init/Kconfig:956
│ Depends on: CGROUPS [=y] && MEMCG [=y]
System configs:
Linux j168 6.6.30-gentoo #1 SMP PREEMPT_DYNAMIC Thu May 16 01:48:44 PDT 2024 x86_64 Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz GenuineIntel GNU/Linux
Iapp-containers/docker
Latest version available: 24.0.5-r1
Latest version installed: 24.0.5-r1
I should be all up to date.
Is it possible the docker script is looking for an old config parameter that's been made redundant?
Or am I just missing something in the kernel. |
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1736
|
Posted: Thu May 16, 2024 3:32 pm Post subject: |
|
|
Dropped in kernel 6.1
Summary:
mm: memcontrol: drop dead CONFIG_MEMCG_SWAP config symbol
Since 2d1c498 ("mm: memcontrol: make swap tracking an integral part of memory control"), CONFIG_MEMCG_SWAP hasn't been a user-visible config option anymore, it just means CONFIG_MEMCG && CONFIG_SWAP. |
|
Back to top |
|
|
|