Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#39698 - [linux] Please enable CONFIG_MEMCG_SWAP_ENABLED in the default kernel.
Attached to Project:
Arch Linux
Opened by Ahmed W. (OneOfOne) - Monday, 31 March 2014, 16:31 GMT
Last edited by Thomas Bächler (brain0) - Monday, 31 March 2014, 23:06 GMT
Opened by Ahmed W. (OneOfOne) - Monday, 31 March 2014, 16:31 GMT
Last edited by Thomas Bächler (brain0) - Monday, 31 March 2014, 23:06 GMT
|
DetailsDescription:
Docker uses CONFIG_MEMCG_SWAP_ENABLED for swap limitation on containers, which is needed in a lot of cases. Steps to reproduce: sudo systemctl start docker sudo docker run -m=$((512 * 1024)) -i -t base/arch bash Results : WARNING: Your kernel does not support swap limit capabilities. Limitation discarded. |
This task depends upon
Closed by Thomas Bächler (brain0)
Monday, 31 March 2014, 23:06 GMT
Reason for closing: Won't implement
Monday, 31 March 2014, 23:06 GMT
Reason for closing: Won't implement
Comment by Dave Reisner (falconindy) -
Monday, 31 March 2014, 16:41 GMT
You can just add swapaccount=1 to your kernel commandline. We should not enable this by default. The requisite MEMCG_SWAP option is already in our config.