HomeFreeBSD

Follow up r313841 on powerpc

Description

Follow up r313841 on powerpc

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@

Details

Provenance
jhibbitsAuthored on
Parents
rS319758: Implement pci_disable_device() in the LinuxKPI.
Branches
Unknown
Tags
Unknown