Re: Out of memory handling broken

Pavel Machek (pavel@suse.cz)
Wed, 26 Sep 2001 16:25:59 +0200


Hi!

> We swap something out.
>
> But indeed, when the kernel needs memory for itself
> and no more memory is available, we'd crash. This is
> not something I've ever seen any system get close to,
> however...

Yep...

> > Okay, okay. Is there any solution (in 2.4.10) in doing what I want to
> > do?
>
> GPF_ATOMIC and giving kswapd a chance to run whenever the
> atomic allocations fail ?

But how do I know when to stop? I'd have to place timeout there
:-(. How do I know no more memory is available?
Pavel

-- 
Causalities in World Trade Center: 6453 dead inside the building,
cryptography in U.S.A. and free speech in Czech Republic.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/