Re: [PATCH] oom killer (Core)

From: William Lee Irwin III
Date: Fri Dec 10 2004 - 12:46:41 EST


On Fri, Dec 10, 2004 at 08:36:14AM -0800, William Lee Irwin III wrote:
>> Maybe the mm == &init_mm case should return an ERR_PTR also, as that is
>> a sign of a transient error, not cause for a hard panic.

On Fri, Dec 10, 2004 at 06:35:54PM +0100, Andrea Arcangeli wrote:
> It can't be a transient error as far as I can tell, it's just like the
> issue of alloc_pages returning NULL (and potentially scheduling first)
> before mounting the root fs.

Well, the only way I see this happening is the process exiting followed
by use_mm() on init_mm for unobvious reasons (perhaps reasons not in
the tree).


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