Re: [PATCH] fs, mm: account filp and names caches to kmemcg

From: Michal Hocko
Date: Mon Oct 30 2017 - 04:29:24 EST


On Fri 27-10-17 13:50:47, Shakeel Butt wrote:
> > Why is OOM-disabling a thing? Why isn't this simply a "kill everything
> > else before you kill me"? It's crashing the kernel in trying to
> > protect a userspace application. How is that not insane?
>
> In parallel to other discussion, I think we should definitely move
> from "completely oom-disabled" semantics to something similar to "kill
> me last" semantics. Is there any objection to this idea?

Could you be more specific what you mean?

--
Michal Hocko
SUSE Labs