From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757338Ab2BPHCw (ORCPT ); Thu, 16 Feb 2012 02:02:52 -0500 Received: from mail-bk0-f46.google.com ([209.85.214.46]:60174 "EHLO mail-bk0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757262Ab2BPHCt (ORCPT ); Thu, 16 Feb 2012 02:02:49 -0500 Message-ID: <4F3CAA13.1090906@openvz.org> Date: Thu, 16 Feb 2012 11:02:43 +0400 From: Konstantin Khlebnikov User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.19) Gecko/20120201 Iceape/2.0.14 MIME-Version: 1.0 To: KAMEZAWA Hiroyuki CC: "linux-mm@kvack.org" , Andrew Morton , Johannes Weiner , "cgroups@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 2/2] memcg: use vm_swappiness from current memcg References: <20120215162830.13902.60256.stgit@zurg> <20120215162834.13902.37262.stgit@zurg> <20120216091511.350882a7.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: <20120216091511.350882a7.kamezawa.hiroyu@jp.fujitsu.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org KAMEZAWA Hiroyuki wrote: > On Wed, 15 Feb 2012 20:28:34 +0400 > Konstantin Khlebnikov wrote: > >> At this point this is always the same cgroup, but it allows to drop one argument. >> >> Signed-off-by: Konstantin Khlebnikov > > Do you mean "no logic change but clean up, dropping an argument" ? > > I'm not sure using complicated sc-> is easier than passing an argument.. It also was cleanup-preparation for "memory book keeping", there I replace struct mem_cgroup_zone *mz with struct book *book, struct book doesn't know anything about memory-cgroups. > > Acked-by: KAMEZAWA Hiroyuki > > -- > 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/ . > Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ > Don't email: email@kvack.org