[PATCH] mm: slub: Ensure that slab_unlock() is atomic
Christoph Lameter
cl at linux.com
Tue Mar 8 07:00:57 PST 2016
On Tue, 8 Mar 2016, Vineet Gupta wrote:
> This in turn happened because slab_unlock() doesn't serialize properly
> (doesn't use atomic clear) with a concurrent running
> slab_lock()->test_and_set_bit()
This is intentional because of the increased latency of atomic
instructions. Why would the unlock need to be atomic? This patch will
cause regressions.
Guess this is an architecture specific issue of modified
cachelines not becoming visible to other processors?
More information about the linux-snps-arc
mailing list