[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150302171257.GL17694@htj.duckdns.org>
Date: Mon, 2 Mar 2015 12:12:57 -0500
From: Tejun Heo <tj@...nel.org>
To: Vladimir Davydov <vdavydov@...allels.com>
Cc: Johannes Weiner <hannes@...xchg.org>,
Michal Hocko <mhocko@...e.cz>, linux-mm@...ck.org,
cgroups@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] cgroup: call cgroup_subsys->bind on cgroup subsys
initialization
On Thu, Feb 19, 2015 at 05:34:46PM +0300, Vladimir Davydov wrote:
> Currently, we call cgroup_subsys->bind only on unmount, remount, and
> when creating a new root on mount. Since the default hierarchy root is
> created in cgroup_init, we will not call cgroup_subsys->bind if the
> default hierarchy is freshly mounted. As a result, some controllers will
> behave incorrectly (most notably, the "memory" controller will not
> enable hierarchy support). Fix this by calling cgroup_subsys->bind right
> after initializing a cgroup subsystem.
>
> Signed-off-by: Vladimir Davydov <vdavydov@...allels.com>
Applied to cgroup/for-4.0-fixes.
Thanks.
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists