lkml.org 
[lkml]   [2001]   [Sep]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Out of memory handling broken
On Wed, 26 Sep 2001, Pavel Machek wrote:

> > > I need to allocate as much memory as possible (but not more).
> > > Okay, so I use out_of_memory, right?
> >
> > Nope, out_of_memory() is about virtual memory handling,
> > not at all about physical memory.
>
> Yes, so... What happens at physical memory exhaustion? System crash?

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

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

regards,

Rik
--
IA64: a worthy successor to i860.

http://www.surriel.com/ http://distro.conectiva.com/

Send all your spam to aardvark@nl.linux.org (spam digging piggy)

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

\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.217 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site