Skip to content

Commit d3bf52e

Browse files
rmullickIngo Molnar
authored and
Ingo Molnar
committed
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 bc94763 ("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>
1 parent 42ac9e8 commit d3bf52e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

kernel/sched.c

-3
Original file line numberDiff line numberDiff line change
@@ -4002,9 +4002,6 @@ void thread_group_times(struct task_struct *p, cputime_t *ut, cputime_t *st)
40024002
/*
40034003
* This function gets called by the timer code, with HZ frequency.
40044004
* We call it with interrupts disabled.
4005-
*
4006-
* It also gets called by the fork code, when changing the parent's
4007-
* timeslices.
40084005
*/
40094006
void scheduler_tick(void)
40104007
{

0 commit comments

Comments
 (0)