On Wed, 3 Mar 2010, KAMEZAWA Hiroyuki wrote: > memory_cgroup_out_of_memory() kills a task. and return VM_FAULT_OOM then, > page_fault_out_of_memory() kills another task. > and cause panic if panic_on_oom=1. > If mem_cgroup_out_of_memory() has returned, then it has already killed a task that will have TIF_MEMDIE set and therefore make the VM_FAULT_OOM oom a no-op. If the oom killed task subsequently returns VM_FAULT_OOM, we better panic because we've fully depleted memory reserves and no future memory freeing is guaranteed. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxxx For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>