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

Rik van Riel
2004-10-26T04:26:37Z

On Mon, 25 Oct 2004, Rik van Riel wrote:
> On Mon, 25 Oct 2004, Andrew Morton wrote:
> > Rik van Riel <riel@redhat.com> 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