On my Archlinux box I want to limit some applications to a smaller amount of memory using cgroups. Since I use swap, I need to account memory+swap. How can I enable swap accounting?
Also you can edit
and replace the line
Then run update-grub [optional], and reboot the server.