From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756476AbbCBRd1 (ORCPT ); Mon, 2 Mar 2015 12:33:27 -0500 Received: from gum.cmpxchg.org ([85.214.110.215]:48739 "EHLO gum.cmpxchg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754819AbbCBRdZ (ORCPT ); Mon, 2 Mar 2015 12:33:25 -0500 Date: Mon, 2 Mar 2015 12:33:15 -0500 From: Johannes Weiner To: Tejun Heo Cc: Vladimir Davydov , Michal Hocko , linux-mm@kvack.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] memcg: disable hierarchy support if bound to the legacy cgroup hierarchy Message-ID: <20150302173315.GA24664@phnom.home.cmpxchg.org> References: <131af5f5ee0eec55d0f94a785db4be04baf01f51.1424356325.git.vdavydov@parallels.com> <421fb6bbff04eb70b8ad82b51efd373f0b4d170f.1424356325.git.vdavydov@parallels.com> <20150302171323.GM17694@htj.duckdns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150302171323.GM17694@htj.duckdns.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 02, 2015 at 12:13:23PM -0500, Tejun Heo wrote: > On Thu, Feb 19, 2015 at 05:34:47PM +0300, Vladimir Davydov wrote: > > If the memory cgroup controller is initially mounted in the scope of the > > default cgroup hierarchy and then remounted to a legacy hierarchy, it > > will still have hierarchy support enabled, which is incorrect. We should > > disable hierarchy support if bound to the legacy cgroup hierarchy. > > > > Signed-off-by: Vladimir Davydov > > Johannes, Michal, can you guys pick this up? Yup, will do.