diff options
author | Paul Turner <pjt@google.com> | 2011-07-21 09:43:35 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-08-14 12:03:38 +0200 |
commit | 8277434ef1202ce30315f8edb3fc760aa6e74493 (patch) | |
tree | 455436e29a5a2e16b33f03aa4b4a9a2911bb7746 /kernel/sched_fair.c | |
parent | 671fd9dabe5239ad218c7eb48b2b9edee50250e6 (diff) | |
download | op-kernel-dev-8277434ef1202ce30315f8edb3fc760aa6e74493.zip op-kernel-dev-8277434ef1202ce30315f8edb3fc760aa6e74493.tar.gz |
sched: Allow for positional tg_tree walks
Extend walk_tg_tree to accept a positional argument
static int walk_tg_tree_from(struct task_group *from,
tg_visitor down, tg_visitor up, void *data)
Existing semantics are preserved, caller must hold rcu_lock() or sufficient
analogue.
Signed-off-by: Paul Turner <pjt@google.com>
Reviewed-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/20110721184757.677889157@google.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched_fair.c')
0 files changed, 0 insertions, 0 deletions