From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 4 May 2000 22:13:24 -0700 (PDT) From: Linus Torvalds Subject: Re: 7-4 VM killing (A solution) In-Reply-To: <39121A22.BA0BA852@sgi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Rajagopal Ananthanarayanan Cc: riel@nl.linux.org, Kanoj Sarcar , linux-mm@kvack.org, "David S. Miller" List-ID: On Thu, 4 May 2000, Rajagopal Ananthanarayanan wrote: > > Ok, I may have a solution after having asked, mostly to myself, > why doesn't shrink_mmap() find pages to free? > > The answer apparenlty is because in 7-4 shrink_mmap(), > unreferenced pages get filed as "young" if the zone has > enough pages in it (free_pages > pages_high). Good catch. That's obviously a bug, and your fix looks like the obvious fix. Thanks, Linus -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux.eu.org/Linux-MM/