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

From: KOSAKI Motohiro
Date: Tue Apr 26 2011 - 01:51:13 EST


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

Thank you.
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@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/