Numbers Everyone Should Know
everythingisdata.wordpress.com
everythingisdata.wordpress.com
That looks suspiciously cheap to me, 1/4th the cost of accessing main memory? I tend to think of mutex ops as quite expensive considering they involve things like memory barriers.
There would be some cache snooping to invalidate the other cpu's lock and gets your local version dirty.
I think mutex ops in 5.3 depended on syscalls or so. I distinctly remember a commit reducing mutex overheads by moving more of it into userspace, somewhat like futex I guess.