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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Paul Menage
Date: Tuesday, February 19, 2008 - 11:02 pm

On Feb 19, 2008 9:48 PM, YAMAMOTO Takashi <yamamoto@valinux.co.jp> wrote:

The colon for consistency with maps in /proc. I think it also makes it
slightly more readable.

For %lld versus %llu - I think that cgroup resource APIs are much more
likely to need to report unsigned rather than signed values. In the
case of the memory.stat file, that's certainly the case.

But I guess there's an argument to be made that nothing's likely to
need the final 64th bit of an unsigned value, whereas the ability to
report negative numbers could potentially be useful for some cgroups.

Paul
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 0/2] cgroup map files: Add a key/value map file ..., YAMAMOTO Takashi, (Tue Feb 19, 10:48 pm)
Re: [PATCH 0/2] cgroup map files: Add a key/value map file ..., Paul Menage, (Tue Feb 19, 11:02 pm)
Re: [PATCH 0/2] cgroup map files: Add a key/value map file ..., YAMAMOTO Takashi, (Tue Feb 19, 11:14 pm)