News for hackers. Stuff that matters.
Re:Linux page table isolation is not needed on AMD processors by revelation on Tuesday January 02, 2018 @06:15PM (#16056804)
Ideally a mutex is just a cmpxchg. It gets more expensive when it is contended. See the Drepper paper on futexes:

http://www.akkadia.org/drepper/futex.pdf

Re:Linux page table isolation is not needed on AMD processors by mehrdadn on Tuesday January 02, 2018 @06:26PM (#16056893)
Thanks, yeah, someone already mentioned this and I already edited in "contended" to clarify. I was actually already aware of futexes (thanks for the link though, I've never actually read the paper), but I was assuming contention -- the "every" referred to every type of operation, not every instance. See my reply to the sibling comment regarding lock contention.