For x86 qspinlocks, no additional memory barrier is required in
smp_mb__after_spin_lock:
Theoretically, for qspinlock we could define two barriers:
- smp_mb__after_spin_lock: Free for x86, not free for powerpc
- smp_mb__between_spin_lock_and_spin_unlock_wait():
Free for all archs, see
For x86 qspinlocks, no additional memory barrier is required in
smp_mb__after_spin_lock:
Theoretically, for qspinlock we could define two barriers:
- smp_mb__after_spin_lock: Free for x86, not free for powerpc
- smp_mb__between_spin_lock_and_spin_unlock_wait():
Free for all archs, see
2 matches
Mail list logo