Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758757AbZCaBss (ORCPT ); Mon, 30 Mar 2009 21:48:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754975AbZCaBsi (ORCPT ); Mon, 30 Mar 2009 21:48:38 -0400 Received: from fgwmail7.fujitsu.co.jp ([192.51.44.37]:49792 "EHLO fgwmail7.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754583AbZCaBsi (ORCPT ); Mon, 30 Mar 2009 21:48:38 -0400 From: KOSAKI Motohiro To: KAMEZAWA Hiroyuki Subject: Re: [PATCH] vmscan: memcg needs may_swap (Re: [patch] vmscan: rename sc.may_swap to may_unmap) Cc: kosaki.motohiro@jp.fujitsu.com, Minchan Kim , Daisuke Nishimura , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Johannes Weiner , Andrew Morton , "Rafael J. Wysocki" , Rik van Riel , Balbir Singh In-Reply-To: <20090331104237.e689f279.kamezawa.hiroyu@jp.fujitsu.com> References: <28c262360903301826w6429720es8ceb361cfc088b1@mail.gmail.com> <20090331104237.e689f279.kamezawa.hiroyu@jp.fujitsu.com> Message-Id: <20090331104625.B1C7.A69D9226@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.50 [ja] Date: Tue, 31 Mar 2009 10:48:32 +0900 (JST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 680 Lines: 21 > > Sorry for too late response. > > I don't know memcg well. > > > > The memcg managed to use may_swap well with global page reclaim until now. > > I think that was because may_swap can represent both meaning. > > Do we need each variables really ? > > > > How about using union variable ? > > or Just removing one of them ? I hope all may_unmap user convert to using may_swap. may_swap is more efficient and cleaner meaning. -- 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/