K 10 svn:author V 3 kib K 8 svn:date V 27 2014-11-10T14:11:17.123524Z K 7 svn:log V 291 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 END