Lines Matching refs:in
29 resulting in a globally visible critical section.
52 are needed in the non-RT kernels to prevent deadlocks like:
63 On -RT this deadlock scenario is resolved by the arch_spin_locks in the
72 macros to generate the lglock/brlock in lglock.h - they were later
77 being initializeable in kernel modules (the remaining problem is that
91 on UP this is mapped to DEFINE_SPINLOCK(name) in both cases, note
92 also that as of 3.18-rc6 all declaration in use are of the _STATIC_
93 variant (and it seems that the non-static was never in use).
102 No surprises in the API.
126 * currently the declaration of lglocks in kernel modules is not
133 * in PREEMPT_RT the spinlock becomes an rt-mutex and can sleep but
135 * in PREEMPT_RT the preempt_disable/enable in lg_local_lock/unlock
139 boosting the lock-holder in this case which arch_spin_locks do
142 lglocks were designed for very specific problems in the VFS and probably
143 only are the right answer in these corner cases. Any new user that looks
146 currently prevent using RCU in place of view remaining lglocks.
152 Ingo Molnar in 2000 (2.4/2.5 kernel series) and removed in 2003. They
153 later were introduced by the VFS scalability patch set in 2.6 series
155 been replaced by seqlock primitives or by RCU based primitives in the
156 3.13 kernel series as was suggested in [3] in 2003. The brlock was
157 entirely removed in the 3.13 kernel series.