cpython/Doc/data
Sam Gross 6ea4f842fb
[3.14] gh-144438: Fix false sharing between QSBR and tlbc_index (gh-144554) (#144923)
Align the QSBR thread state array to a 64-byte cache line boundary
and add padding at the end of _PyThreadStateImpl. Depending on heap
layout, the QSBR array could end up sharing a cache line with a
thread's tlbc_index, causing QSBR quiescent state updates to contend
with reads of tlbc_index in RESUME_CHECK. This is sensitive to
earlier allocations during interpreter init and can appear or
disappear with seemingly unrelated changes.

Either change alone is sufficient to fix the specific issue, but both
are worthwhile to avoid similar problems in the future.

(cherry picked from commit 6577d870b0)
2026-03-31 19:20:24 +00:00
..
python3.14.abi [3.14] gh-144438: Fix false sharing between QSBR and tlbc_index (gh-144554) (#144923) 2026-03-31 19:20:24 +00:00
refcounts.dat [3.14] Document that PyType_GetModule returns a borrowed ref (GH-145612) (GH-145682) 2026-03-10 10:06:08 +01:00
stable_abi.dat [3.14] gh-141909: Add PyModuleDef_Slot and earlier Py_mod_* constants to stable ABI manifest (#141910) (GH-141978) 2025-11-26 15:35:04 +01:00
threadsafety.dat [3.14] gh-145563: Add thread-safety annotation for PyCapsule C-API (GH-146612) (#146659) 2026-03-31 17:05:49 +05:30