Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 6 Jul 2001 18:16:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 6 Jul 2001 18:16:46 -0400 Received: from perninha.conectiva.com.br ([200.250.58.156]:45325 "HELO perninha.conectiva.com.br") by vger.kernel.org with SMTP id ; Fri, 6 Jul 2001 18:16:40 -0400 Date: Fri, 6 Jul 2001 19:16:33 -0300 (BRST) From: Rik van Riel X-X-Sender: To: Hugh Dickins Cc: Alan Cox , Andrea Arcangeli , Linus Torvalds , Subject: Re: [PATCH] OOM kill trigger fix 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 Fri, 6 Jul 2001, Hugh Dickins wrote: > On Fri, 6 Jul 2001, Rik van Riel wrote: > > > > Of course, to implement this we have to count the number of > > swapcache pages, but that's a 2-liner ;) > > swapper_space.nrpages already counts that (as Andrea once > pointed out), no need to add your nr_swapcache_pages. Whoops, indeed... 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/