News for hackers. Stuff that matters.
Re:Google Is Uncovering Hundreds of Race Conditions Within t... by typical182 on Thursday October 03, 2019 @09:42AM (#21146826)
As far as I understand, performance is not a valid concern.

For example, from dvyukov's KTSAN wiki [1]:

  Given a sufficiently expressive atomic API and a good
  implementation, you pay only for what you really need (if
  you pay just a bit less, generated code becomes incorrect).
  So performance is not an argument here. 
[1] https://github.com/google/ktsan/wiki/READ_ONCE-and-WRITE_ONC...
Re:Google Is Uncovering Hundreds of Race Conditions Within t... by eloff on Thursday October 03, 2019 @10:00AM (#21147001)
You're talking about the sanitizer performance. We were talking about the kernel performance in the real world. Fixing these race conditions will have some effect.
Re:Google Is Uncovering Hundreds of Race Conditions Within t... by rrss on Thursday October 03, 2019 @12:07PM (#21148585)
No, that page is about kernel performance, not sanitizer performance.

The idea is that if you omit READ_ONCE/WRITE_ONCE when they are needed, it doesn't matter if the code is faster because it is wrong.