All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] cgroup map files: Add a key/value map file type to cgroups
@ 2008-02-21 21:28 ` menage
  0 siblings, 0 replies; 26+ messages in thread
From: menage @ 2008-02-21 21:28 UTC (permalink / raw)
  To: kamezawa.hiroyu, yamamoto, akpm; +Cc: linux-kernel, linux-mm, balbir, xemul

[ 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@google.com>


--

^ permalink raw reply	[flat|nested] 26+ messages in thread
* [PATCH 0/2] cgroup map files: Add a key/value map file type to cgroups
@ 2008-02-20  5:15 ` menage
  0 siblings, 0 replies; 26+ messages in thread
From: menage @ 2008-02-20  5:15 UTC (permalink / raw)
  To: kamezawa.hiroyu, akpm; +Cc: linux-kernel, linux-mm, balbir, xemul, yamamoto

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

- less boilerplate required in cgroup subsystems

- simplifies transition to a future efficient cgroups binary API

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

--

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2008-02-23 15:22 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-21 21:28 [PATCH 0/2] cgroup map files: Add a key/value map file type to cgroups menage
2008-02-21 21:28 ` menage
2008-02-21 21:28 ` [PATCH 1/2] cgroup map files: Add cgroup map data type menage
2008-02-21 21:28   ` menage
2008-02-22  3:51   ` YAMAMOTO Takashi
2008-02-22  3:51     ` YAMAMOTO Takashi
2008-02-23  8:04   ` Andrew Morton
2008-02-23  8:04     ` Andrew Morton
2008-02-23 15:22     ` Paul Menage
2008-02-23 15:22       ` Paul Menage
2008-02-21 21:28 ` [PATCH 2/2] cgroup map files: Use cgroup map for memcontrol stats file menage
2008-02-21 21:28   ` menage
2008-02-23  8:04   ` Andrew Morton
2008-02-23  8:04     ` Andrew Morton
2008-02-23  8:04 ` [PATCH 0/2] cgroup map files: Add a key/value map file type to cgroups Andrew Morton
2008-02-23  8:04   ` Andrew Morton
  -- strict thread matches above, loose matches on Subject: below --
2008-02-20  5:15 menage
2008-02-20  5:15 ` menage
2008-02-20  5:48 ` YAMAMOTO Takashi
2008-02-20  5:48   ` YAMAMOTO Takashi
2008-02-20  6:02   ` Paul Menage
2008-02-20  6:02     ` Paul Menage
2008-02-20  6:14     ` YAMAMOTO Takashi
2008-02-20  6:14       ` YAMAMOTO Takashi
2008-02-20  6:25       ` Paul Menage
2008-02-20  6:25         ` Paul Menage

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.