Make "unlock_buffer()" use the optimized "smp_mb__after_clear_bit()".
"clear_buffer_locked()" is just a nicer name for a clear-bit, and on x86 (and others) we don't need any expensive memory barriers after that.
Showing
Please register or sign in to comment