Re: [PATCH 2/2] use oom_killer_disabled in page fault oom path

From: KAMEZAWA Hiroyuki
Date: Tue Apr 26 2011 - 01:26:28 EST


On Tue, 26 Apr 2011 13:31:50 +0800
Dave Young <hidave.darkstar@xxxxxxxxx> wrote:

> Currently oom_killer_disabled is only used in __alloc_pages_slowpath,
> For page fault oom case it is not considered. One use case is
> virtio balloon driver, when memory pressure is high, virtio ballooning
> will cause oom killing due to such as page fault oom.
>
> Thus add oom_killer_disabled checking in pagefault_out_of_memory.
>
> Signed-off-by: Dave Young <hidave.darkstar@xxxxxxxxx>

Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>


--
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/