Re: [PATCH 1/2 (repost)] mm: serialize OOM kill operations

From: Dave Peterson
Date: Fri Apr 28 2006 - 18:09:59 EST


On Thursday 27 April 2006 16:02, Paul Jackson wrote:
> I'm still a little surprised that this per-mm 'oom_notify' bit
> was needed to implement what I thought was a single, global
> system wide oom killer serializer.

I think the title "mm: serialize OOM kill operations" was probably a
poor choice of words. It sounds like all I want to do is make sure
tasks enter the OOM killer one-at-a-time. My goal is actually to
prevent further OOM kill operations until the OOM kill in progress
has caused the victim task to free its address space (i.e. clean out
its mm_struct). That way we don't shoot more processes than necessary
to resolve the OOM condition.
-
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/