Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 10 Jul 2001 22:38:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 10 Jul 2001 22:37:51 -0400 Received: from perninha.conectiva.com.br ([200.250.58.156]:21267 "HELO perninha.conectiva.com.br") by vger.kernel.org with SMTP id ; Tue, 10 Jul 2001 22:37:36 -0400 Date: Tue, 10 Jul 2001 22:05:36 -0300 (BRT) From: Marcelo Tosatti To: Mike Galbraith Cc: Christoph Rohland , Rik van Riel , Linus Torvalds , Jeff Garzik , Daniel Phillips , linux-kernel Subject: Re: VM in 2.4.7-pre hurts... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 9 Jul 2001, Mike Galbraith wrote: > 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. We can make sure if this (inactive full of dirty pages) is really the case with the tracing code. The shmem fix in 2.4.7-pre5 is the solution for your problem ? If not, I'll port the tracing code to the pre5 and hopefully we can actually figure out what is going on here. - 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/