]> git.baikalelectronics.ru Git - kernel.git/commit
sched: fix delay accounting regression
authorBalbir Singh <balbir@linux.vnet.ibm.com>
Fri, 9 Nov 2007 21:39:37 +0000 (22:39 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 9 Nov 2007 21:39:37 +0000 (22:39 +0100)
commit70a8118d1e50fbb7db58232fa4888d590deface6
treeab3efa693c573f2b40dbf4d0e3f219f2dc20da22
parent4ea902063efc6d0159f5bcd968a74196583ce862
sched: fix delay accounting regression

Fix the delay accounting regression introduced by commit
b2e31ba166ffcd906e0bbb549dc00df098a187cd. rq no longer has sched_info
data associated with it. task_struct sched_info structure is used by delay
accounting to provide back statistics to user space.

also remove direct use of sched_clock() (which is not a valid thing to
do anymore) and use rq->clock instead.

Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched_stats.h