Re: [PATCH v2] mm, memcg: avoid oom if cgroup is not populated

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed 27-11-19 19:35:03, Yafang Shao wrote:
[...]
> > 3. I think I agree with Michal that modifying the limits smells more
> > like a configuration thingy to be handled by an admin (especially, adapt
> > min/max properly). But again, not sure where that change is located :)
> >
> 
> I agree with you all, but that is Michal told me to do. See above and
> the disccussion in this thread.

Look, I have tried to help you here. I have explained why force_empty is
not a part of cgroup v2. I have suggested to use hard limit to achieve
a similar outcome. The OOM killer is a natural part of the hard limit -
I guess I could have been more explicit about that. As Johannes noted
high limit can be used as well (you need to have a task in the memcg
context for that to be effective).

Since then you have tried to tweak the code here and there with a very
weak justification and now you are complaining and questioning my
expertise. Please think about your attitude.

Thanks!
-- 
Michal Hocko
SUSE Labs




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux