diff options
author | Paul Menage <menage@google.com> | 2008-07-25 01:47:01 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-25 10:53:36 -0700 |
commit | af351026aafc8da16518a02b41c66d3e0c1cdef4 (patch) | |
tree | f294376157f2e1c91f5a4b6ff90b4183dc6f7969 /kernel/cpuset.c | |
parent | 6379c106152388f7ea45d6dda63edda0e9181fc8 (diff) | |
download | talos-obmc-linux-af351026aafc8da16518a02b41c66d3e0c1cdef4.tar.gz talos-obmc-linux-af351026aafc8da16518a02b41c66d3e0c1cdef4.zip |
cgroup files: turn attach_task_by_pid directly into a cgroup write handler
This patch changes attach_task_by_pid() to take a u64 rather than a
string; as a result it can be called directly as a control groups
write_u64 handler, and cgroup_common_file_write() can be removed.
Signed-off-by: Paul Menage <menage@google.com>
Cc: Paul Jackson <pj@sgi.com>
Cc: Pavel Emelyanov <xemul@openvz.org>
Cc: Balbir Singh <balbir@in.ibm.com>
Cc: Serge Hallyn <serue@us.ibm.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/cpuset.c')
0 files changed, 0 insertions, 0 deletions