Messages in this thread | | | Subject | Re: [patch 4/5] xtime_lock: Convert to raw_seqlock | From | Peter Zijlstra <> | Date | Thu, 18 Feb 2010 11:49:28 +0100 |
| |
On Wed, 2010-02-17 at 18:47 +0000, Thomas Gleixner wrote: > > xtime_lock needs a raw_spinlock in preempt-rt. Convert it to > raw_seqlock and fix up all users. > s/raw_spinlock/raw_seqlock/ ?
Maybe add an explanation on _why_ -rt needs this for the uninformed amongst us.
-rt switches to sleeping spinlocks, but since the vdso is basically userspace it cannot schedule, hence we need to keep using actual spinlocks (this is also the reason the vdso things must not call into lockdep)
| |