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? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/