aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRakib Mullick <rakib.mullick@gmail.com>2011-04-20 11:27:32 -0400
committerIngo Molnar <mingo@elte.hu>2011-04-21 05:41:36 -0400
commitd3bf52e998056a6002b2aecfe1d25486376382ac (patch)
tree68c5f3f2a66c29a6928ea03f245bea7ad05f8609
parent42ac9e87fdd89b77fa2ca0a5226023c1c2d83226 (diff)
sched: Remove obsolete comment from scheduler_tick()
scheduler_tick() is no longer called by fork code - this got discarded a long time ago by commit bc947631d1d532 ("sched: improve efficiency of sched_fork()"). So, remove the comment which still claims otherwise. Signed-off-by: Rakib Mullick <rakib.mullick@gmail.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/BANLkTimO4iGP0QpaHO1HHF1QOnVcQpc0cw@mail.gmail.com Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--kernel/sched.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 30a29ad46eb1..8cb0a5769a16 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -4002,9 +4002,6 @@ void thread_group_times(struct task_struct *p, cputime_t *ut, cputime_t *st)
4002/* 4002/*
4003 * This function gets called by the timer code, with HZ frequency. 4003 * This function gets called by the timer code, with HZ frequency.
4004 * We call it with interrupts disabled. 4004 * We call it with interrupts disabled.
4005 *
4006 * It also gets called by the fork code, when changing the parent's
4007 * timeslices.
4008 */ 4005 */
4009void scheduler_tick(void) 4006void scheduler_tick(void)
4010{ 4007{