From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752938Ab2JAMcm (ORCPT ); Mon, 1 Oct 2012 08:32:42 -0400 Received: from mx2.parallels.com ([64.131.90.16]:54685 "EHLO mx2.parallels.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752635Ab2JAMck (ORCPT ); Mon, 1 Oct 2012 08:32:40 -0400 Message-ID: <50698C97.70703@parallels.com> Date: Mon, 1 Oct 2012 16:29:11 +0400 From: Glauber Costa User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 MIME-Version: 1.0 To: Michal Hocko CC: , , , , Tejun Heo , , Suleiman Souhlal , Frederic Weisbecker , Mel Gorman , David Rientjes , Christoph Lameter , Pekka Enberg , Johannes Weiner Subject: Re: [PATCH v3 09/13] memcg: kmem accounting lifecycle management References: <1347977050-29476-1-git-send-email-glommer@parallels.com> <1347977050-29476-10-git-send-email-glommer@parallels.com> <20121001121553.GG8622@dhcp22.suse.cz> In-Reply-To: <20121001121553.GG8622@dhcp22.suse.cz> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/01/2012 04:15 PM, Michal Hocko wrote: > Based on the previous discussions I guess this one will get reworked, > right? > Yes, but most of it stayed. The hierarchy part is gone, but because we will still have kmem pages floating around (potentially), I am still using the mark_dead() trick with the corresponding get when kmem_accounted. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx198.postini.com [74.125.245.198]) by kanga.kvack.org (Postfix) with SMTP id B944B6B005D for ; Mon, 1 Oct 2012 08:32:42 -0400 (EDT) Message-ID: <50698C97.70703@parallels.com> Date: Mon, 1 Oct 2012 16:29:11 +0400 From: Glauber Costa MIME-Version: 1.0 Subject: Re: [PATCH v3 09/13] memcg: kmem accounting lifecycle management References: <1347977050-29476-1-git-send-email-glommer@parallels.com> <1347977050-29476-10-git-send-email-glommer@parallels.com> <20121001121553.GG8622@dhcp22.suse.cz> In-Reply-To: <20121001121553.GG8622@dhcp22.suse.cz> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Michal Hocko Cc: linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, kamezawa.hiroyu@jp.fujitsu.com, devel@openvz.org, Tejun Heo , linux-mm@kvack.org, Suleiman Souhlal , Frederic Weisbecker , Mel Gorman , David Rientjes , Christoph Lameter , Pekka Enberg , Johannes Weiner On 10/01/2012 04:15 PM, Michal Hocko wrote: > Based on the previous discussions I guess this one will get reworked, > right? > Yes, but most of it stayed. The hierarchy part is gone, but because we will still have kmem pages floating around (potentially), I am still using the mark_dead() trick with the corresponding get when kmem_accounted. -- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Glauber Costa Subject: Re: [PATCH v3 09/13] memcg: kmem accounting lifecycle management Date: Mon, 1 Oct 2012 16:29:11 +0400 Message-ID: <50698C97.70703@parallels.com> References: <1347977050-29476-1-git-send-email-glommer@parallels.com> <1347977050-29476-10-git-send-email-glommer@parallels.com> <20121001121553.GG8622@dhcp22.suse.cz> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20121001121553.GG8622-2MMpYkNvuYDjFM9bn6wA6Q@public.gmane.org> Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Michal Hocko Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, kamezawa.hiroyu-+CUm20s59erQFUHtdCDX3A@public.gmane.org, devel-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org, Tejun Heo , linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, Suleiman Souhlal , Frederic Weisbecker , Mel Gorman , David Rientjes , Christoph Lameter , Pekka Enberg , Johannes Weiner On 10/01/2012 04:15 PM, Michal Hocko wrote: > Based on the previous discussions I guess this one will get reworked, > right? > Yes, but most of it stayed. The hierarchy part is gone, but because we will still have kmem pages floating around (potentially), I am still using the mark_dead() trick with the corresponding get when kmem_accounted.