Re: [systemd-devel] How to correctly use memory controls (MemoryLow) on unified hierarchy system?

2021-05-26 Thread Michal Koutný
On Fri, May 21, 2021 at 03:25:05PM +0300, Andrei Borzenkov wrote: > Is it necessary to explicitly set it on every ancestor? It depends against what reclaim you want to be protected. Global memory reclaim (running out of RAM) -> set it on every ancestor. Cgroup memory reclaim (hitting memory

Re: [systemd-devel] How to correctly use memory controls (MemoryLow) on unified hierarchy system?

2021-05-26 Thread Michal Koutný
On Fri, May 21, 2021 at 08:14:03PM +0300, Andrei Borzenkov wrote: > That's overkill for my purposes. This is single user system and all I am > trying to do is to prevent swapping out Wayland composer to avoid > waiting several minutes to unblank screen. I am fine with setting values > once.