Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752167AbbG2BSa (ORCPT ); Tue, 28 Jul 2015 21:18:30 -0400 Received: from szxga02-in.huawei.com ([119.145.14.65]:42151 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751512AbbG2BS2 (ORCPT ); Tue, 28 Jul 2015 21:18:28 -0400 Message-ID: <55B829CA.1040106@huawei.com> Date: Wed, 29 Jul 2015 09:18:02 +0800 From: Zefan Li User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Tejun Heo CC: , , , , , , Subject: Re: [PATCH 01/10] cgroup: don't print subsystems for the default hierarchy References: <1437763434-28699-1-git-send-email-tj@kernel.org> <1437763434-28699-2-git-send-email-tj@kernel.org> In-Reply-To: <1437763434-28699-2-git-send-email-tj@kernel.org> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset="GB2312" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.18.230] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 897 Lines: 25 On 2015/7/25 2:43, Tejun Heo wrote: > It doesn't make sense to print subsystems on mount option or > /proc/PID/cgroup for the default hierarchy. > > * cgroup.controllers file at the root of the default hierarchy lists > the currently attached controllers. > > * The default hierarchy is catch-all for unmounted subsystems. > > * The default hierarchy doesn't accept any mount options. > > Suppress subsystem printing on mount options and /proc/PID/cgroup for > the default hierarchy. > > Signed-off-by: Tejun Heo > Cc: Li Zefan > Cc: Johannes Weiner > Cc: cgroups@vger.kernel.org Acked -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/