Messages in this thread | | | Date | Wed, 9 Mar 2016 17:48:29 -0500 | From | Johannes Weiner <> | Subject | Re: [PATCH 2/2] oom-clear-tif_memdie-after-oom_reaper-managed-to-unmap-the-address-space-fix |
| |
On Thu, Mar 10, 2016 at 07:21:58AM +0900, Tetsuo Handa wrote: > Andrew Morton wrote: > > I found the below patch lying around but I didn't queue it properly. > > Is it legit? > > I think that patch wants patch description updated. > Not testing pure noise, but causing possible livelock. > http://lkml.kernel.org/r/20160217143917.GP29196@dhcp22.suse.cz
Sorry, I completely missed that. We're drowning in OOM killer fixes!
However, I disagree with your changelog. The scenario you describe is real, but that the hung task is exiting is also noise. The underlying problem is that the OOM victim is hung. Instead of OOM_SCAN_ABORT, the OOM killer could also select some other non-exiting task that has the mmap_sem held for reading. This patch doesn't fix that bug.
| |