diff options
author | Nick Piggin <nickpiggin@yahoo.com.au> | 2005-06-25 17:57:29 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-25 19:24:44 -0400 |
commit | 476d139c218e44e045e4bc6d4cc02b010b343939 (patch) | |
tree | 82a6537b829b2b35156fba5a312f4e44273a4356 /include | |
parent | 674311d5b411e9042df4fdf7aef0b3c8217b6240 (diff) |
[PATCH] sched: consolidate sbe sbf
Consolidate balance-on-exec with balance-on-fork. This is made easy by the
sched-domains RCU patches.
As well as the general goodness of code reduction, this allows the runqueues
to be unlocked during balance-on-fork.
schedstats is a problem. Maybe just have balance-on-event instead of
distinguishing fork and exec?
Signed-off-by: Nick Piggin <nickpiggin@yahoo.com.au>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/sched.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index d27be9337425..edb2c69a8873 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -930,7 +930,7 @@ extern void FASTCALL(wake_up_new_task(struct task_struct * tsk, | |||
930 | #else | 930 | #else |
931 | static inline void kick_process(struct task_struct *tsk) { } | 931 | static inline void kick_process(struct task_struct *tsk) { } |
932 | #endif | 932 | #endif |
933 | extern void FASTCALL(sched_fork(task_t * p)); | 933 | extern void FASTCALL(sched_fork(task_t * p, int clone_flags)); |
934 | extern void FASTCALL(sched_exit(task_t * p)); | 934 | extern void FASTCALL(sched_exit(task_t * p)); |
935 | 935 | ||
936 | extern int in_group_p(gid_t); | 936 | extern int in_group_p(gid_t); |