Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758049AbYAKD7z (ORCPT ); Thu, 10 Jan 2008 22:59:55 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755739AbYAKD7r (ORCPT ); Thu, 10 Jan 2008 22:59:47 -0500 Received: from fgwmail7.fujitsu.co.jp ([192.51.44.37]:50173 "EHLO fgwmail7.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753168AbYAKD7q (ORCPT ); Thu, 10 Jan 2008 22:59:46 -0500 Date: Fri, 11 Jan 2008 12:59:31 +0900 From: KOSAKI Motohiro To: Rik van Riel Subject: Re: [patch 05/19] split LRU lists into anon & file sets Cc: kosaki.motohiro@jp.fujitsu.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Lee Schermerhorn In-Reply-To: <20080108210002.638347207@redhat.com> References: <20080108205939.323955454@redhat.com> <20080108210002.638347207@redhat.com> Message-Id: <20080111122225.FD59.KOSAKI.MOTOHIRO@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.42 [ja] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1600 Lines: 51 Hi Rik > -static inline long mem_cgroup_calc_reclaim_inactive(struct mem_cgroup *mem, > - struct zone *zone, int priority) > +static inline long mem_cgroup_calc_reclaim(struct mem_cgroup *mem, > + struct zone *zone, int priority, > + int active, int file) > { > return 0; > } it can't compile if memcgroup turn off. because current mem_cgroup_calc_reclaim type is below. long mem_cgroup_calc_reclaim(struct mem_cgroup *mem, struct zone *zone, int priority, enum lru_list lru) after patched below, it can compile. I hope you don't think unpleasant by a trivial point out. regard. - kosaki Index: linux-2.6.24-rc6-mm1-rvr/include/linux/memcontrol.h =================================================================== --- linux-2.6.24-rc6-mm1-rvr.orig/include/linux/memcontrol.h 2008-01-11 11:10:16.000000000 +0900 +++ linux-2.6.24-rc6-mm1-rvr/include/linux/memcontrol.h 2008-01-11 12:08:29.000000000 +0900 @@ -168,9 +168,8 @@ { } -static inline long mem_cgroup_calc_reclaim(struct mem_cgroup *mem, - struct zone *zone, int priority, - int active, int file) +static inline long mem_cgroup_calc_reclaim(struct mem_cgroup *mem, struct zone *zone, + int priority, enum lru_list lru) { return 0; } -- 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/