Re: Mem issues in 2.6.9 (ever since 2.6.9-rc3) and possible cause

From: Rik van Riel
Date: Mon Oct 25 2004 - 23:40:59 EST


On Mon, 25 Oct 2004, Rik van Riel wrote:
> On Mon, 25 Oct 2004, Andrew Morton wrote:
> > Rik van Riel <riel@xxxxxxxxxx> wrote:
> > >
> > > - if (referenced && page_mapping_inuse(page))
> > > + if (referenced && sc->priority && page_mapping_inuse(page))
> >
> > Makes heaps of sense, but I'd like to exactly understand why people are
> > getting oomings before doing something like this. I think we're still
> > waiting for a testcase?
>
> I'm now running Yum on a (virtual) system with 96MB RAM and
> 100MB swap. This used to get an OOM kill very quickly, but
> still seems to be running now, after 20 minutes.

It completed, without being OOM killed like before.

--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan

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