HomeFreeBSD

Close a race I introduced in the spinlock_* changes. We need to finish
rS145085Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Close a race I introduced in the spinlock_* changes. We need to finish
disabling interrupts before updating the saved pil in the thread. If we
save the value first then it can be clobbered if an interrupt comes in
and the interrupt handler tries to acquire a spin lock.

Submitted by: marius

Details

Provenance
jhbAuthored on
Parents
rS145084: Update the bugs section, null characters in the format string are now handled.
Branches
Unknown
Tags
Unknown

Event Timeline