From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752643Ab2GIRRy (ORCPT ); Mon, 9 Jul 2012 13:17:54 -0400 Received: from mail-pb0-f46.google.com ([209.85.160.46]:38372 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752496Ab2GIRRx (ORCPT ); Mon, 9 Jul 2012 13:17:53 -0400 Date: Mon, 9 Jul 2012 10:17:48 -0700 From: Tejun Heo To: Aristeu Rozanski Cc: linux-kernel@vger.kernel.org, Li Zefan , Hugh Dickins , Hillf Danton Subject: Re: [PATCH v3 2/3] cgroup: revise how we re-populate root directory Message-ID: <20120709171748.GD1341@google.com> References: <20120702142925.795007114@napanee.usersys.redhat.com> <20120702142926.405632285@napanee.usersys.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120702142926.405632285@napanee.usersys.redhat.com> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 02, 2012 at 10:29:27AM -0400, Aristeu Rozanski wrote: > From: Li Zefan > > When remounting cgroupfs with some subsystems added to it and some > removed, cgroup will remove all the files in root directory and then > re-popluate it. > > What I'm doing here is, only remove files which belong to subsystems that > are to be unbinded, and only create files for newly-added subsystems. > The purpose is to have all other files untouched. > > This is a preparation for cgroup xattr support. > > v3: > - refresh patches after recent refactoring Changing subsys_bits via remount is being deprecated. No need to worry about this. Thanks. -- tejun