]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sched: add rq_clock()/__rq_clock()
authorIngo Molnar <mingo@elte.hu>
Mon, 9 Jul 2007 16:51:58 +0000 (18:51 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 9 Jul 2007 16:51:58 +0000 (18:51 +0200)
commit20d315d42aed95423a7203e1d7e84086004b5a00
tree3649d00c3ed1053783727333de1291a71bdb3ca4
parent6aa645ea5f7a246702e07f29edc7075d487ae4a3
sched: add rq_clock()/__rq_clock()

add rq_clock()/__rq_clock(), a robust wrapper around sched_clock(),
used by CFS. It protects against common type of sched_clock() problems
(caused by hardware): time warps forwards and backwards.

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