]> git.baikalelectronics.ru Git - kernel.git/commit
sched: fix rq->clock overflows detection with CONFIG_NO_HZ
authorGuillaume Chazarain <guichaz@yahoo.fr>
Sat, 19 Apr 2008 17:44:57 +0000 (19:44 +0200)
committerIngo Molnar <mingo@elte.hu>
Sat, 19 Apr 2008 17:44:57 +0000 (19:44 +0200)
commit0115ac3578e2287ad18ba85b15c9b67f4f5e32f4
tree1f65ac7d910e76b65d0cfcd1c72e156b0a8bd273
parentf93111db95b0aff3c1f90c9b65ef7ecc5a44ed7a
sched: fix rq->clock overflows detection with CONFIG_NO_HZ

When using CONFIG_NO_HZ, rq->tick_timestamp is not updated every TICK_NSEC.
We check that the number of skipped ticks matches the clock jump seen in
__update_rq_clock().

Signed-off-by: Guillaume Chazarain <guichaz@yahoo.fr>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c