News for hackers. Stuff that matters.
Re:Lock-free multithreading with atomic operations by gpderetta on Tuesday July 30, 2019 @07:08AM (#20563710)
Outside of some very exotic scenarios, this hasn't been the case for about 20 years.
Re:Lock-free multithreading with atomic operations by zlynx on Tuesday July 30, 2019 @12:40PM (#20566551)
I read about one recently where an evil user program was able to bring a 28 core Xeon to its knees. Apparently a LOCK INC on an unaligned value that hangs over a page boundary forces this super-advanced CPU to lock everything in every cache as if it was a 386.
Re:Lock-free multithreading with atomic operations by gpderetta on Tuesday July 30, 2019 @02:07PM (#20567500)
Yes, That's the very exotic scenario I had in mind:)