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)
commit15934a37324f32e0fda633dc7984a671ea81cd75
tree1f65ac7d910e76b65d0cfcd1c72e156b0a8bd273
parent30914a58af9d21c5f1831adabb5d7a800a378675
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