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 4B1816B0055 for ; Fri, 14 Aug 2009 02:56:48 -0400 (EDT) Date: Fri, 14 Aug 2009 15:56:50 +0900 (JST) From: KOSAKI Motohiro Subject: Re: [patch 2/5] mm: introduce page_lru_base_type() In-Reply-To: <1250065929-17392-2-git-send-email-hannes@cmpxchg.org> References: <1250065929-17392-1-git-send-email-hannes@cmpxchg.org> <1250065929-17392-2-git-send-email-hannes@cmpxchg.org> Message-Id: <20090814144409.CBDE.A69D9226@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org To: Johannes Weiner Cc: kosaki.motohiro@jp.fujitsu.com, Andrew Morton , linux-mm@kvack.org, Minchan Kim List-ID: > Instead of abusing page_is_file_cache() for LRU list index arithmetic, > add another helper with a more appropriate name and convert the > non-boolean users of page_is_file_cache() accordingly. > > This new helper gives the LRU base type a page is supposed to live on, > inactive anon or inactive file. > > Signed-off-by: Johannes Weiner > Reviewed-by: Rik van Riel > Cc: Minchan Kim Looks good to me. Reviewed-by: KOSAKI Motohiro -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org