sched: Remove obsolete comment from scheduler_tick()
authorRakib Mullick <rakib.mullick@gmail.com>
Wed, 20 Apr 2011 15:27:32 +0000 (21:27 +0600)
committerIngo Molnar <mingo@elte.hu>
Thu, 21 Apr 2011 09:41:36 +0000 (11:41 +0200)
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>
kernel/sched.c

index 30a29ad..8cb0a57 100644 (file)
@@ -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)
 {