lkml.org 
[lkml]   [2001]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: VM in 2.4.7-pre hurts...
On 9 Jul 2001, Christoph Rohland wrote:

> Hi Mike,
>
> On Mon, 9 Jul 2001, Mike Galbraith wrote:
> > --- mm/shmem.c.org Mon Jul 9 09:03:27 2001
> > +++ mm/shmem.c Mon Jul 9 09:03:46 2001
> > @@ -264,8 +264,8 @@
> > info->swapped++;
> >
> > spin_unlock(&info->lock);
> > -out:
> > set_page_dirty(page);
> > +out:
> > UnlockPage(page);
> > return error;
> > }
> >
> > So, did I fix it or just bust it in a convenient manner ;-)
>
> ... now you drop random pages. This of course helps reducing memory
> pressure ;-)

(shoot. I figured that was too easy to be right)

> But still this may be a hint. You are not running out of swap, aren't
> you?

I'm running oom whether I have swap enabled or not. The inactive
dirty list starts growing forever, until it's full of (aparantly)
dirty pages and I'm utterly oom.

With swap enabled, I keep allocating until there's nothing left.
Actual space usage is roughly 30mb (of 256mb), but when you can't
allocate anymore you're toast too, with the same dirt buildup.

-Mike

-
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 12:56    [W:0.092 / U:0.976 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site