summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorJohn Hawthorn <john@hawthorn.email>2025-07-23 14:24:59 -0700
committerJohn Hawthorn <john@hawthorn.email>2025-07-24 16:35:20 -0700
commit3ad2019259015080ab7fdadaa6f4ae818229bcd1 (patch)
tree86b1d015002d1bd1b475f2c591e334650f730b71 /misc
parent7465e169dae537937c1ed244e22aaa565b13a3eb (diff)
Extract vm_locked_by_ractor_p
This introduces a new method to encapsulate checking whether the current Ractor owns the vm->ractor.sync lock. This allows us to disable TSan on it since that operation should be safe, and still get validation of other uses.
Diffstat (limited to 'misc')
-rw-r--r--misc/tsan_suppressions.txt7
1 files changed, 0 insertions, 7 deletions
diff --git a/misc/tsan_suppressions.txt b/misc/tsan_suppressions.txt
index a34e040913..692c1be388 100644
--- a/misc/tsan_suppressions.txt
+++ b/misc/tsan_suppressions.txt
@@ -30,13 +30,6 @@ race:check_reserved_signal_
race_top:rb_check_deadlock
-# lock_owner
-race_top:thread_sched_setup_running_threads
-race_top:vm_lock_enter
-race_top:rb_ec_vm_lock_rec
-race_top:vm_lock_enter
-race_top:vm_locked
-
# vm->ractor.sched.grq_cnt++
race_top:ractor_sched_enq
race_top:ractor_sched_deq