Re: [patch 01/12] mm: oom_kill: remove unnecessary locking in oom_enable()

David Rientjes
2015-03-26T19:30:43Z

On Thu, 26 Mar 2015, Michal Hocko wrote:

> I am wrong here! pagefault_out_of_memory takes the lock and so the whole
> mem_cgroup_out_of_memory is called under the same lock.

If all userspace processes are frozen by the time oom_killer_disable() is
called, then there shouldn't be any race with the android lmk calling
mark_tsk_oom_victim() either, so I assume that you're acking this patch?