From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 8 Jan 2001 11:11:32 -0200 (BRST) From: Marcelo Tosatti Subject: Re: Subtle MM bug In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Linus Torvalds Cc: "David S. Miller" , Rik van Riel , linux-mm@kvack.org List-ID: On Sun, 7 Jan 2001, Linus Torvalds wrote: > and just get rid of all the logic to try to "find the best mm". It's bogus > anyway: we should get perfectly fair access patterns by just doing > everything in round-robin, and each "swap_out_mm(mm)" would just try to > walk some fixed percentage of the RSS size (say, something like > > count = (mm->rss >> 4) > > and be done with it. I have the impression that a fixed percentage of the RSS will be a problem when you have a memory hog (or hogs) running. -- 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/