Re: User space out of memory approach

From: Thomas Gleixner
Date: Tue Jan 11 2005 - 05:38:22 EST


On Tue, 2005-01-11 at 12:00 +0200, Edjard Souza Mota wrote:
> Hi,
>
> > > > > 1) ranking for the most likely culprits only starts when memory consumption
> > > > > gets close to the red zone (for example 98% or something like that).
> >
> > We do the ranking only in the oom situation, so what's your point ?
>
> The point is that kernel doesn't need to keep watching the memory space
> every time a process needs memory. Only when memory is close this red zone.

Oh, I see. The mechanism which is doing memory management must not be
aware of the resources which it is managing ? Am I missing a point ?

tglx



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