commit | 2cd4d0ea19713304963dbb2de5073700bfe253f5 | [log] [tgz] |
---|---|---|
author | Ingo Molnar <mingo@elte.hu> | Thu Jul 26 13:40:43 2007 +0200 |
committer | Ingo Molnar <mingo@elte.hu> | Thu Jul 26 13:40:43 2007 +0200 |
tree | 39a374d0918db059413f6709184669da63af81ef | |
parent | 018a2212950457b1093e504cd834aa0fe749da6c [diff] |
[PATCH] sched: make cpu_clock() not use the rq clock it is enough to disable interrupts to get the precise rq-clock of the local CPU. this also solves an NMI watchdog regression: the NMI watchdog calls touch_softlockup_watchdog(), which might deadlock on rq->lock if the NMI hits an rq-locked critical section. Signed-off-by: Ingo Molnar <mingo@elte.hu>