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.
For example, from dvyukov's KTSAN wiki [1]:
[1] https://github.com/google/ktsan/wiki/READ_ONCE-and-WRITE_ONC...