]> err.no Git - linux-2.6/commit
hrtimer: unlock hrtimer_wakeup
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 25 Jan 2008 20:08:32 +0000 (21:08 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 25 Jan 2008 20:08:32 +0000 (21:08 +0100)
commit37bb6cb4097e29ffee970065b74499cbf10603a3
tree406de8e53a02244d9f8998bf5e583d3923b4e5c0
parentd3d74453c34f8fd87674a8cf5b8a327c68f22e99
hrtimer: unlock hrtimer_wakeup

hrtimer_wakeup creates a

  base->lock
    rq->lock

lock dependancy. Avoid this by switching to HRTIMER_CB_IRQSAFE_NO_SOFTIRQ
which doesn't hold base->lock.

This fully untangles hrtimer locks from the scheduler locks, and allows
hrtimer usage in the scheduler proper.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/hrtimer.c