mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-11-07 17:12:31 +01:00
Close a potential race in reading the CPU dtrace flags, where a thread can start on one CPU, and partway through retrieving the flags be swapped out, while another thread traps and sets the CPU_DTRACE_NOFAULT. This could cause the first thread to return without handling the fault. Discussed with: markj@