summaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
authorRakib Mullick <rakib.mullick@gmail.com>2011-04-20 21:27:32 +0600
committerIngo Molnar <mingo@elte.hu>2011-04-21 11:41:36 +0200
commitd3bf52e998056a6002b2aecfe1d25486376382ac (patch)
tree68c5f3f2a66c29a6928ea03f245bea7ad05f8609 /kernel/sched.c
parent42ac9e87fdd89b77fa2ca0a5226023c1c2d83226 (diff)
downloadlinux-d3bf52e998056a6002b2aecfe1d25486376382ac.tar.bz2
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>
Diffstat (limited to 'kernel/sched.c')
-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)
/*
* This function gets called by the timer code, with HZ frequency.
* We call it with interrupts disabled.
- *
- * It also gets called by the fork code, when changing the parent's
- * timeslices.
*/
void scheduler_tick(void)
{