Unreliable Guide To Locking | ||
---|---|---|
<<< Previous | Common Techniques | Next >>> |
A classic example of per-CPU information is Ingo's `big reader' locks (linux/include/brlock.h). These use the Per-CPU Data techniques described above to create a lock which is very fast to get a read lock, but agonizingly slow for a write lock.
Fortunately, there are a limited number of these locks available: you have to go through a strict interview process to get one.
<<< Previous | Home | Next >>> |
Per-CPU Data | Up | Avoiding Locks: Read And Write Ordering |