Navigation: Linux Kernel Driver DataBase - web LKDDB: Main index - M index
The Linux kernel configuration item CONFIG_MEMCG_SWAP
has multiple definitions:
init/Kconfig
The configuration item CONFIG_MEMCG_SWAP:
CONFIG_MEMCG && CONFIG_SWAP
(none)
init/Kconfig
The configuration item CONFIG_MEMCG_SWAP:
CONFIG_MEMCG && CONFIG_SWAP
Provides control over the swap space consumed by tasks in a cgroup.
init/Kconfig
The configuration item CONFIG_MEMCG_SWAP:
CONFIG_MEMCG && CONFIG_SWAP
Add swap management feature to memory resource controller. When you enable this, you can limit mem+swap usage per cgroup. In other words, when you disable this, memory resource controller has no cares to usage of swap...a process can exhaust all of the swap. This extension is useful when you want to avoid exhaustion swap but this itself adds more overheads and consumes memory for remembering information. Especially if you use 32bit system or small memory system, please be careful about enabling this. When memory resource controller is disabled by boot option, this will be automatically disabled and there will be no overhead from this. Even when you set this config=y, if boot option "swapaccount=0" is set, swap will not be accounted. Now, memory usage of swap_cgroup is 2 bytes per entry. If swap page size is 4096bytes, 512k per 1Gbytes of swap.
Raw data from LKDDb:
(none)
This page is automaticly generated with free (libre, open) software lkddb(see lkddb-sources).
The data is retrived from:
Popular queries:
Navigation: Linux Kernel Driver DataBase - web LKDDB: main index - M index
Automatically generated (in year 2024). See also LKDDb sources on GitLab