Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 7 Jul 2001 14:01:01 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 7 Jul 2001 14:00:41 -0400 Received: from perninha.conectiva.com.br ([200.250.58.156]:46090 "HELO perninha.conectiva.com.br") by vger.kernel.org with SMTP id ; Sat, 7 Jul 2001 14:00:37 -0400 Date: Sat, 7 Jul 2001 15:00:33 -0300 (BRST) From: Rik van Riel X-X-Sender: To: Jeff Garzik Cc: Linus Torvalds , Linux Kernel Mailing List , Daniel Phillips Subject: Re: VM in 2.4.7-pre hurts... In-Reply-To: <3B4748BC.D9045F12@mandrakesoft.com> 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 Sat, 7 Jul 2001, Jeff Garzik wrote: > 2) I agree that 200MB into swap and 200MB into cache isn't bad > per se, but when it triggers the OOM killer it is bad. Please read my patch for the OOM killer. It substracts the swap cache from the cache figure you quote and ONLY goes into oom_kill() if the page & buffer cache together take less than 4% of memory (see /proc/sys/vm/{buffermem,pagecache}). regards, Rik -- Executive summary of a recent Microsoft press release: "we are concerned about the GNU General Public License (GPL)" http://www.surriel.com/ http://www.conectiva.com/ http://distro.conectiva.com/ - 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/