Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Config_memcg_swap
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Bili Oslavi
n00b
n00b


Joined: 12 Mar 2023
Posts: 18

PostPosted: Thu May 16, 2024 3:23 pm    Post subject: Config_memcg_swap Reply with quote

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
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1733

PostPosted: Thu May 16, 2024 3:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum