1
0
Fork 0
alistair23-linux/kernel/sched
Li Zefan 761b3ef50e cgroup: remove cgroup_subsys argument from callbacks
The argument is not used at all, and it's not necessary, because
a specific callback handler of course knows which subsys it
belongs to.

Now only ->pupulate() takes this argument, because the handlers of
this callback always call cgroup_add_file()/cgroup_add_files().

So we reduce a few lines of code, though the shrinking of object size
is minimal.

 16 files changed, 113 insertions(+), 162 deletions(-)

   text    data     bss     dec     hex filename
5486240  656987 7039960 13183187         c928d3 vmlinux.o.orig
5486170  656987 7039960 13183117         c9288d vmlinux.o

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
2012-02-02 09:20:22 -08:00
..
Makefile
auto_group.c
auto_group.h
clock.c
core.c cgroup: remove cgroup_subsys argument from callbacks 2012-02-02 09:20:22 -08:00
cpupri.c
cpupri.h
debug.c
fair.c sched: Fix lockup by limiting load-balance retries on lock-break 2012-01-11 17:15:12 +01:00
features.h
idle_task.c
rt.c
sched.h sched: Only queue remote wakeups when crossing cache boundaries 2011-12-21 10:34:44 +01:00
stats.c
stats.h Merge branch 'sched/core' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip into cputime-tip 2011-12-19 19:23:15 +01:00
stop_task.c