LWN.net Logo

CGroup API files: Various cleanup to CGroup control files

From:  menage@google.com
To:  akpm@linux-foundation.org, balbir@in.ibm.com, pj@sgi.com, Pavel Emelianov <xemul@openvz.org>, KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>, YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Subject:  [PATCH 00/10] CGroup API files: Various cleanup to CGroup control files
Date:  Sat, 23 Feb 2008 14:47:25 -0800
Message-ID:  <20080223224725.115590000@menage.corp.google.com>
Cc:  linux-kernel@vger.kernel.org, containers@lists.linux-foundation.org
Archive-link:  Article, Thread

This patchset is a roll-up of the non-contraversial items of the
various patches that I've sent out recently, fixed according to the
feedback received.

In summary they are:

- general rename of read_uint/write_uint to read_u64/write_u64

- use these methods for cpusets and memory controller files

- add a read_map cgroup file method, and use it in the memory
  controller

- move the "releasable" control file to the debug subsystem

- make the debug subsystem config option default to "n"

The only user-visible changes are the movement of the "releasable"
file and the fact that some write_u64()-based control files are now
more forgiving of additional whitespace at the end of their input.

Signed-off-by: Paul Menage <menage@google.com>

--

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds