Re: [PATCH 0/2] cgroup map files: Add a key/value map file type tocgroups

From: YAMAMOTO Takashi
Date: Wed Feb 20 2008 - 00:48:44 EST


> 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@xxxxxxxxxx>

it changes the format from "%s %lld" to "%s: %llu", right?
why?

YAMAMOTO Takashi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/