Re: [RFC] Enabling other oom schemes

From: Robert Love
Date: Sat Sep 13 2003 - 15:55:56 EST


On Sat, 2003-09-13 at 13:48, Jamie Lokier wrote:

> Also, when the OOM condition is triggered I'd like the system to
> reboot, but first try for a short while to unmount filesystems cleanly.
>
> Any chance of those things?

I like all of these ideas.

One thing to keep in mind is that during a real OOM condition, we cannot
allocate _any_ memory. None. Zilch.

And that makes some things very hard. When we start getting into things
such as complicated policies that kill nonessential services first, et
cetera... there comes a time where a lot of communication is needed
(probably with user-space). Hard to do that with no memory.

I do like all of this, however, and want to see some different OOM
killers.

Robert Love


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