Your message dated Fri, 23 Apr 2021 13:49:01 +0200 with message-id <YIK0LWWp/T/[email protected]> and subject line Re: Bug#915139: linux-image-4.18.0-2-amd64: Please set CONFIG_MEMCG_SWAP_ENABLED has caused the Debian Bug report #915139, regarding linux-image-4.18.0-2-amd64: Please set CONFIG_MEMCG_SWAP_ENABLED to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 915139: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=915139 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: src:linux Version: 4.18.10-2+b1 Severity: wishlist -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Dear Maintainer, Some processes in my system need to be limited when it comes to memory consumption. I wanted to use cgroup v1 along with tools from the cgroup-tools package to achieve the goal. Everything works well, but the limits can be applied to RAM only. My machine has also a SWAP partition, and in such case, when the limit is reached, kernel starts to use SWAP, and it does that without any control. For instance, if I've set a limit of 1GiB of memory for firefox, after reaching this limit, all the data would go to SWAP and fill it up slowing also the system down. There's an option that could prevent this from happening: CONFIG_MEMCG_SWAP_ENABLED , but it's not set and all the memory.memsw.* files under /sys/fs/cgroup/memory/ don't exist. Could you set this option? -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE5JPPWm5C7TFDUMqpzQRoEHcbZSAFAlwBsqkACgkQzQRoEHcb ZSB7JQ/9EY0WKSPpGpnoWhXSOEsKHZHFPHl9Pf8b9OqVyuopFQSHZZ2IidiqUfWO qgXkU72ZJAwNTQVZPC10HScYuM6y7Us1Q4fLjk6FeLu5E+kttJmvxZt6D0DAM5zi t4TttDwWIeybT7KF8ST6OcCzs3fq/EqzeL3WINq+QE/1PcMnWgI+4Rp3tj5pYbZH owdXdN9+d065qIypdrIJHhxJ/ZfCbUonslQPh8En+8ml+tPBNWslpCkx5AFWp/Cw cdrmqqmY3nEXeQAgy6MfSHhGytD01Fki/BmX9mIE+cAodNTVSz8/1oc+vk2sQRVh yBnv5uuDmCgh2Fr81/Iz8yOJ5bcf9XTT9oAdHbdQ5FsHgLfdthOC7Y73hNLtoTXH 95gNO9D/iHSzH2U8isq2R57VD9G/TSX79y8jIp3eUmAEXJfJ75qNN7Q4T3R89Z1q Yq1Qo1WWduy/8nlQNNcay4bAaHuD0qdBqqeQ1BGNhO7VIcVtgxfcd2y0fHx4CpOx Y2xE3qOlatl2G9GwKHRoDZaciMUfmfc32c/25FstGsys4x9QpsUtNnZc5LISAT36 jiibihHLUA5pj0xbeWet0/ao8JW/hSxyOtiezv8WKwubOd0SO6NG2iAUEHRfei7I j0ZPF+yGr8MEf24AgHAXYHl/nxwFfJLvmata2eTTlJWcamBjCtU= =WmNH -----END PGP SIGNATURE-----
--- End Message ---
--- Begin Message ---Hi, On Fri, Nov 30, 2018 at 10:59:06PM +0100, Mikhail Morfikov wrote: > Package: src:linux > Version: 4.18.10-2+b1 > Severity: wishlist > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > Dear Maintainer, > > Some processes in my system need to be limited when it comes to memory > consumption. I wanted to use cgroup v1 along with tools from the cgroup-tools > package to achieve the goal. Everything works well, but the limits can be > applied to RAM only. My machine has also a SWAP partition, and in such case, > when the limit is reached, kernel starts to use SWAP, and it does that without > any control. For instance, if I've set a limit of 1GiB of memory for firefox, > after reaching this limit, all the data would go to SWAP and fill it up > slowing > also the system down. There's an option that could prevent this from > happening: > CONFIG_MEMCG_SWAP_ENABLED , but it's not set and all the memory.memsw.* files > under /sys/fs/cgroup/memory/ don't exist. Could you set this option? This is not supported anymore since upstream 5.8-rc1, 2d1c498072de ("mm: memcontrol: make swap tracking an integral part of memory control"), so closing the bugreport. Regards, Salvatore
--- End Message ---

