Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 9 Jul 2001 07:18:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 9 Jul 2001 07:18:34 -0400 Received: from www.wen-online.de ([212.223.88.39]:7174 "EHLO wen-online.de") by vger.kernel.org with ESMTP id ; Mon, 9 Jul 2001 07:18:22 -0400 Date: Mon, 9 Jul 2001 13:17:25 +0200 (CEST) From: Mike Galbraith X-X-Sender: To: Christoph Rohland cc: 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) Urk! Yeah, removing the only thing in the world keeping ramfs/tmpfs page pegged was kinda.. dumb. I'd ask for a browm paper baggie, but my pointy head might damage it ;-) > > But still this may be a hint. _Anyway_, tmpfs is growing and growing from stdout. If I send output to /dev/null, no growth. Nothing in tmpfs is growing, so I presume the memory is disappearing down one of X or KDE's sockets. No such leakage without tmpfs, and I can do all kinds of normal file type use of tmpfs with no leakage. -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/