Re: an argument for keeping oom_control in cgroups v2

Chris Frey
2022-08-24T09:30:23Z

On Tue, Aug 23, 2022 at 09:10:37AM -0700, Roman Gushchin wrote:
> Btw, it's fairly easy to emulate the oom_control behaviour using cgroups v2:
> a userspace agent can listen to memory.high/max events and use the cgroup v2
> freezer to stop the workload and handle the oom in v1 oom_control style.
> An agent can have a high/real-time priority, so I guess the behavior will be
> actually quite close to the v1 experience. Much safer though.

Thanks to everyone who responded. Looks like the same functionality,
slightly different, is still available through different means,
so my query has been satisfied.

- Chris