Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 6 Jul 2001 18:06:06 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 6 Jul 2001 18:05:56 -0400 Received: from bacchus.veritas.com ([204.177.156.37]:35327 "EHLO bacchus-int.veritas.com") by vger.kernel.org with ESMTP id ; Fri, 6 Jul 2001 18:05:42 -0400 Date: Fri, 6 Jul 2001 23:06:51 +0100 (BST) From: Hugh Dickins To: Rik van Riel cc: Alan Cox , Andrea Arcangeli , Linus Torvalds , linux-kernel@vger.kernel.org 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, 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. Hugh - 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/