From: "Aneesh Kumar K.V" Subject: Re: [PATCH -V4 08/10] hugetlbfs: Add a list for tracking in-use HugeTLB pages Date: Mon, 19 Mar 2012 14:29:14 +0530 Message-ID: <87ty1lj7a5.fsf@linux.vnet.ibm.com> References: <1331919570-2264-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> <1331919570-2264-9-git-send-email-aneesh.kumar@linux.vnet.ibm.com> <4F66A15B.7070804@jp.fujitsu.com> Mime-Version: 1.0 Return-path: In-Reply-To: <4F66A15B.7070804@jp.fujitsu.com> Sender: owner-linux-mm@kvack.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: KAMEZAWA Hiroyuki Cc: linux-mm@kvack.org, mgorman@suse.de, dhillf@gmail.com, aarcange@redhat.com, mhocko@suse.cz, akpm@linux-foundation.org, hannes@cmpxchg.org, linux-kernel@vger.kernel.org, cgroups@vger.kernel.org On Mon, 19 Mar 2012 12:00:43 +0900, KAMEZAWA Hiroyuki wrote: > (2012/03/17 2:39), Aneesh Kumar K.V wrote: > > > From: "Aneesh Kumar K.V" > > > > hugepage_activelist will be used to track currently used HugeTLB pages. > > We need to find the in-use HugeTLB pages to support memcg removal. > > On memcg removal we update the page's memory cgroup to point to > > parent cgroup. > > > > Signed-off-by: Aneesh Kumar K.V > > > Reviewed-by: KAMEZAWA Hiroyuki > > seems ok to me but...why the new list is not per node ? no benefit ? > I am not sure whether having per node will bring any performance benefit. For cgroup removal we need to look at all the list entries anyway. -aneesh -- 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