[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080221212854.408662000@menage.corp.google.com>
Date: Thu, 21 Feb 2008 13:28:54 -0800
From: menage@...gle.com
To: kamezawa.hiroyu@...fujitsu.com, yamamoto@...inux.co.jp,
akpm@...ux-foundation.org
Cc: linux-kernel@...r.kernel.org, linux-mm@...ck.org,
balbir@...ibm.com, xemul@...nvz.org
Subject: [PATCH 0/2] cgroup map files: Add a key/value map file type to cgroups
[ Updated from the previous version to remove the colon from the map output ]
These patches add a new cgroup control file output type - a map from
strings to u64 values - and make use of it for the memory controller
"stat" file.
It is intended for use when the subsystem wants to return a collection
of values that are related in some way, for which a separate control
file for each value would make the reporting unwieldy.
The advantages of this are:
- more standardized output from control files that report
similarly-structured data that needs to be parsed programmatically
- less boilerplate required in cgroup subsystems
- simplifies transition to a future efficient cgroups binary API
Signed-off-by: Paul Menage <menage@...gle.com>
--
--
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