diff options
author | Paul Menage <menage@google.com> | 2009-10-08 01:32:26 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-10-08 16:36:39 +0200 |
commit | 7823da36ce8e42d66941887eb922768d259763f2 (patch) | |
tree | 50b1d3dac15a6c96a09c1a4919e1905a5e0b9184 /init | |
parent | video: includecheck fix: da8xx-fb.c (diff) | |
download | linux-7823da36ce8e42d66941887eb922768d259763f2.tar.xz linux-7823da36ce8e42d66941887eb922768d259763f2.zip |
cgroups: update documentation of cgroups tasks and procs files
Update documentation of cgroups tasks and procs files
Document the cgroup.procs file.
Clarify the semantics of the cgroup.procs and tasks files. Although the
current cgroup.procs interface returns a sorted and uniqified list of
pids, potential future performance enhancements could result in those
properties being removed - explicitly document this aspect of the API.
There are no existing users of cgroup.procs, so compatibility isn't an
issue. There are users of the "tasks" file, but none that would appear to
break in the event of the sorted property being broken. The standard
"libcpuset" explicitly sorts the results of reading from the tasks file,
and "libcg" and other users don't appear to care about ordering.
Signed-off-by: Paul Menage <menage@google.com>
Reviewed-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions