HomeFreeBSD

When sleeping waiting for the profiling stop, always set P_STOPPROF

Description

When sleeping waiting for the profiling stop, always set P_STOPPROF
before dropping process lock. Clear P_STOPPROF when doing wakeup.

Both issues caused thread to hang in stopprofclock() "stopprof" sleep.

Reported and tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Details

Provenance
kibAuthored on
Parents
rS274342: For now handle only multicast addresses, we still use routes to
Branches
Unknown
Tags
Unknown

Event Timeline