From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx109.postini.com [74.125.245.109]) by kanga.kvack.org (Postfix) with SMTP id 472206B000A for ; Tue, 29 Jan 2013 04:15:42 -0500 (EST) Message-ID: <5107934E.1070102@parallels.com> Date: Tue, 29 Jan 2013 13:15:58 +0400 From: Lord Glauber Costa of Sealand MIME-Version: 1.0 Subject: Re: [PATCH v2 1/6] memcg: refactor swap_cgroup_swapon() References: <510658E6.9030108@oracle.com> In-Reply-To: <510658E6.9030108@oracle.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Jeff Liu Cc: linux-mm@kvack.org, Michal Hocko , cgroups@vger.kernel.org On 01/28/2013 02:54 PM, Jeff Liu wrote: > Refector swap_cgroup_swapon() to setup the number of pages only, and > move the rest to swap_cgroup_prepare(), so that the later can be used > for allocating buffers when creating the first non-root memcg. > > Signed-off-by: Jie Liu > CC: Glauber Costa > CC: Michal Hocko > CC: Kamezawa Hiroyuki > CC: Johannes Weiner > CC: Mel Gorman > CC: Andrew Morton > CC: Sha Zhengju > In itself seems just like a healthy reshuffling to me So looks good. -- 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