Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
sapiogram
· 3y ago · 0 comments
If false sharing is truly the bottleneck in your code, can't you just make sure the lock reserves the entire cache line? Each core still needs to fetch from L3 cache to grab the lock itself, but that's roughly the same cost as a compare-and-swap.
Comments
No comments yet.
Better HN