Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 20 Mar 2002 14:26:41 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 20 Mar 2002 14:26:31 -0500 Received: from parcelfarce.linux.theplanet.co.uk ([195.92.249.252]:24850 "EHLO www.linux.org.uk") by vger.kernel.org with ESMTP id ; Wed, 20 Mar 2002 14:26:18 -0500 Message-ID: <3C98E1DA.529F2BD7@zip.com.au> Date: Wed, 20 Mar 2002 11:24:10 -0800 From: Andrew Morton X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.19-pre2 i686) X-Accept-Language: en MIME-Version: 1.0 To: Rik van Riel CC: lkml Subject: Re: aa-200-active_page_swapout In-Reply-To: <3C980A11.AD5A7660@zip.com.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Rik van Riel wrote: > > On Tue, 19 Mar 2002, Andrew Morton wrote: > > > Don't bother checking for active pages in the swapout path. > > > > Not sure about this one. Clearly the page isn't *likely* to be on the > > active list, because the caller found it on the inactive list. > > Mmmm nope. > > The caller of swap_out (shrink_caches) may have been scanning the > inactive list, but swap_out itself scans the page tables. > > This means it can encounter all kinds of pages, active, inactive > and even reserved pages. > good point :) So what does the patch do? - - 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/