From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756301AbbCBRN3 (ORCPT ); Mon, 2 Mar 2015 12:13:29 -0500 Received: from mail-qc0-f182.google.com ([209.85.216.182]:40529 "EHLO mail-qc0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754498AbbCBRN0 (ORCPT ); Mon, 2 Mar 2015 12:13:26 -0500 Date: Mon, 2 Mar 2015 12:13:23 -0500 From: Tejun Heo To: Vladimir Davydov Cc: Johannes Weiner , 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: <20150302171323.GM17694@htj.duckdns.org> References: <131af5f5ee0eec55d0f94a785db4be04baf01f51.1424356325.git.vdavydov@parallels.com> <421fb6bbff04eb70b8ad82b51efd373f0b4d170f.1424356325.git.vdavydov@parallels.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <421fb6bbff04eb70b8ad82b51efd373f0b4d170f.1424356325.git.vdavydov@parallels.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? Thanks. -- tejun