On Tue, Apr 26, 2016 at 02:56:21PM +0200, Michal Hocko wrote: > From: Michal Hocko <[email protected]> > > PR_SET_THP_DISABLE requires mmap_sem for write. If the waiting > task gets killed by the oom killer it would block oom_reaper from > asynchronous address space reclaim and reduce the chances of timely OOM > resolving. Wait for the lock in the killable mode and return with EINTR > if the task got killed while waiting. > > Cc: Alex Thorlton <[email protected]> > Acked-by: Vlastimil Babka <[email protected]> > Signed-off-by: Michal Hocko <[email protected]>
Looks good to me - I wrote that bit of code so I think this can get an: Acked-by: Alex Thorlton <[email protected]> Thanks for Ccing me! - Alex

