]> git.baikalelectronics.ru Git - kernel.git/commit
sched: reorder update_cpu_load(rq) with the ->task_tick() call
authorIngo Molnar <mingo@elte.hu>
Thu, 9 Aug 2007 09:16:45 +0000 (11:16 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 9 Aug 2007 09:16:45 +0000 (11:16 +0200)
commit11935dc31ebd17f4bd3e333829d881ad69cd2ec6
tree0aeb01cea731ed44d765c6a2d599edbd6db5c9c2
parent42d7485c7ce75fd6c58d162f31882210e0e87857
sched: reorder update_cpu_load(rq) with the ->task_tick() call

Peter Williams suggested to flip the order of update_cpu_load(rq) with
the ->task_tick() call. This is a NOP for the current scheduler (the
two functions are independent of each other), ->task_tick() might
create some state for update_cpu_load() in the future (or in PlugSched).

Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c