~/talk

Some things I wish I hadn’t seen

Talkat The Future of Weak Memory 2024 · on Monday, 2024-01-15· [concurrency]
links:none on file
slides:none on file

Finds real code patterns in the .NET runtime and a Microsoft project that use flush_process_write_buffers as an intentionally heavyweight IPI to restore sequential reasoning so fast paths can use only relaxed atomics, reports Tsan disagreement when a prototype replaced acquire/release with relaxed plus that IPI, and shows JIT-time patching that needs both instruction-cache flush and a process-wide write-buffer flush to avoid stale code on other cores; cites Linux mbarrier and a C++ technical specification as related fixes and says changes go through production rings for testing.

AI-written summary · about

  1. 0:00Introduction
  2. 2:14Flush process write buffers
  3. 8:00Asymmetric memory barriers
  4. 11:54Performance trade-offs
  5. 16:32Updating JIT runtime code
  6. 19:51Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.