Files
clang-p2996/compiler-rt/test/tsan
Dmitry Vyukov 66298e1c54 tsan: fix another false positive related to open/close
The false positive fixed by commit f831d6fc80
("tsan: fix false positive during fd close") still happens episodically
on the added more stressful test which does just open/close.

I don't have a coherent explanation as to what exactly happens
but the fix fixes the false positive on this test as well.
The issue may be related to lost writes during asynchronous MADV_DONTNEED.
I've debugged similar unexplainable false positive related to freed and
reused memory and at the time the only possible explanation I found is that
an asynchronous MADV_DONTNEED may lead to lost writes. That's why commit
302ec7b9bc ("tsan: add memory_limit_mb flag") added StopTheWorld around
the memory flush, but unfortunately the commit does not capture these findings.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D121363
2022-03-10 17:02:51 +01:00
..
2021-12-13 12:48:34 +01:00
2021-07-28 20:11:59 +02:00
2021-04-29 07:42:18 +02:00
2021-12-13 12:48:34 +01:00
2021-10-25 14:51:24 +02:00
2021-04-29 07:42:18 +02:00
2021-07-28 17:35:02 +02:00
2021-07-28 17:35:02 +02:00
2021-07-28 17:35:02 +02:00
2021-07-15 12:18:48 +02:00
2021-12-13 12:48:34 +01:00
2021-12-13 12:48:34 +01:00
2021-07-15 12:18:48 +02:00
2021-02-17 19:03:17 +01:00
2021-06-24 09:47:44 +02:00
2021-12-13 12:48:34 +01:00
2021-07-28 17:35:02 +02:00
2021-04-29 07:42:18 +02:00
2022-02-23 13:35:22 -08:00