News for hackers. Stuff that matters.
Re:Google developing own CPUs for Chromebook laptops by im3w1l on Saturday October 02, 2021 @07:11PM (#28732956)
> For unknown apps that do need TSO you'll get a crash

Sure about that? Couldn't it lead to silent data corruption?

Re:Google developing own CPUs for Chromebook laptops by reitzensteinm on Saturday October 02, 2021 @08:42PM (#28733533)
Yes, it absolutely can. Shameless but super relevant plug. I'm (slowly) writing a series of blog posts where I simulate the implications of memory models by fuzzing timing and ordering: https://www.reitzen.com/

I think the main reason why it hasn't been disastrous is that most programs rely on locks, and they're going to be translating that to the equivalent ARM instructions with a full memory barrier.

Not too many consumer apps are going to be doing lockless algorithms, but where they're used all bets are off. You can easily imagine a queue where two threads grab the same item from, for instance.