On Sat 06-01-18 16:37:17, Tetsuo Handa wrote: > Michal Hocko wrote: > > On Tue 19-12-17 20:26:14, Tetsuo Handa wrote: > > > When the OOM reaper set MMF_OOM_SKIP on the victim's mm before threads > > > sharing that mm get ->signal->oom_mm, the comment "That thread will now > > > get access to memory reserves since it has a pending fatal signal." no > > > longer stands. Also, since we introduced ALLOC_OOM watermark, the comment > > > "They don't get access to memory reserves, though, to avoid depletion of > > > all memory." no longer stands. > > > > > > This patch treats all thread groups sharing the victim's mm evenly, > > > and updates the outdated comment. > > > > Nack with a real life example where this matters. > > You did not respond to > http://lkml.kernel.org/r/201712232341.FGC64072.VFLOOJOtFSFMHQ@xxxxxxxxxxxxxxxxxxx , Yes I haven't because there is simply no point continuing this discussion. You are simply immune to any arguments. > and I observed needless OOM-killing. Therefore, I push this patch again. Yes, the life is tough and oom heuristic might indeed kill more tasks for some workloads. But as long as those needless oom killing happens for artificial workloads I am not all that much interested. Show me some workload that is actually real and we can make the current code more complicated. Without that my position remains. -- Michal Hocko SUSE Labs -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>