From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail138.messagelabs.com (mail138.messagelabs.com [216.82.249.35]) by kanga.kvack.org (Postfix) with SMTP id 5B27B6B008C for ; Tue, 23 Nov 2010 01:05:42 -0500 (EST) Received: by iwn10 with SMTP id 10so938367iwn.14 for ; Mon, 22 Nov 2010 22:05:39 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20101122214814.36c209a6.akpm@linux-foundation.org> References: <20101122141449.9de58a2c.akpm@linux-foundation.org> <20101122210132.be9962c7.akpm@linux-foundation.org> <20101122212220.ae26d9a5.akpm@linux-foundation.org> <20101122214814.36c209a6.akpm@linux-foundation.org> Date: Tue, 23 Nov 2010 15:05:39 +0900 Message-ID: Subject: Re: [RFC 1/2] deactive invalidated pages From: Minchan Kim Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: owner-linux-mm@kvack.org To: Andrew Morton Cc: linux-mm , LKML , Peter Zijlstra , Rik van Riel , KOSAKI Motohiro , Johannes Weiner , Nick Piggin , Mel Gorman List-ID: On Tue, Nov 23, 2010 at 2:48 PM, Andrew Morton wrote: > On Tue, 23 Nov 2010 14:45:15 +0900 Minchan Kim wr= ote: > >> On Tue, Nov 23, 2010 at 2:22 PM, Andrew Morton >> wrote: >> > On Tue, 23 Nov 2010 14:23:33 +0900 Minchan Kim = wrote: >> > >> >> On Tue, Nov 23, 2010 at 2:01 PM, Andrew Morton >> >> wrote: >> >> > On Tue, 23 Nov 2010 13:52:05 +0900 Minchan Kim wrote: >> >> > >> >> >> >> +/* >> >> >> >> + * Function used to forecefully demote a page to the head of t= he inactive >> >> >> >> + * list. >> >> >> >> + */ >> >> >> > >> >> >> > This comment is wrong? __The page gets moved to the _tail_ of th= e >> >> >> > inactive list? >> >> >> >> >> >> No. I add it in _head_ of the inactive list intentionally. >> >> >> Why I don't add it to _tail_ is that I don't want to be aggressive=