Re: [PATCH v13 5/7] mm, oom: add cgroup v2 mount option for cgroup-aware OOM killer

From: Michal Hocko
Date: Fri Dec 01 2017 - 08:31:52 EST


On Fri 01-12-17 13:15:38, Roman Gushchin wrote:
[...]
> So, maybe we just need to return -EAGAIN (or may be -ENOTSUP) on any read/write
> attempt if option is not enabled?

Yes, that would work as well. ENOTSUP sounds better to me.
--
Michal Hocko
SUSE Labs