Lines Matching full:spinlocks
22 worry about UP vs SMP issues: the spinlocks work correctly under both.
38 This is really the only really hard part about spinlocks: once you start
39 using spinlocks they tend to expand to areas you might not have noticed
40 before, because you have to make sure the spinlocks correctly protect the
41 shared data structures **everywhere** they are used. The spinlocks are most
52 Lesson 2: reader-writer spinlocks.
57 (rw_lock) versions of the spinlocks are sometimes useful. They allow multiple
62 simple spinlocks. Unless the reader critical section is long, you
63 are better off just using spinlocks.
91 NOTE! We are working hard to remove reader-writer spinlocks in most
97 Lesson 3: spinlocks revisited.
108 several CPU's and you want to use spinlocks you can potentially use
109 cheaper versions of the spinlocks. IFF you know that the spinlocks are
136 (This is also the reason why the irq-versions of the spinlocks only need
137 to disable the _local_ interrupts - it's ok to use spinlocks in interrupts