Re: [PATCH] use oom_killer_disabled in all oom pathes

From: KOSAKI Motohiro
Date: Mon Apr 25 2011 - 22:57:31 EST


> oom_killer_disable should be a global switch, also fit for oom paths
> other than __alloc_pages_slowpath
>
> Here add it to mem_cgroup_handle_oom and pagefault_out_of_memory as well.

Can you please explain more? Why should? Now oom_killer_disabled is used
only hibernation path. so, Why pagefault and memcg allocation will be happen?




--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/