Page MenuHomeFreeBSD

pdwait(2): make debugging events functional
ClosedPublic

Authored by kib on Sat, Jul 11, 3:52 PM.
Tags
None
Referenced Files
F163124788: D58172.diff
Mon, Jul 20, 7:23 AM
Unknown Object (File)
Fri, Jul 17, 11:41 PM
Unknown Object (File)
Fri, Jul 17, 11:39 PM
Unknown Object (File)
Fri, Jul 17, 11:36 PM
Unknown Object (File)
Fri, Jul 17, 7:00 PM
Unknown Object (File)
Fri, Jul 17, 6:08 PM
Unknown Object (File)
Fri, Jul 17, 6:04 PM
Unknown Object (File)
Fri, Jul 17, 6:03 PM
Subscribers

Details

Summary

We need to wake up the pdwait(2) waiters when procdesc event is reported.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kib requested review of this revision.Sat, Jul 11, 3:52 PM

Shouldn't this just be in D58123?

IMO it is independent, it was missing wakeups which must be present for pdwait() to return. IMO even if NOTE_PDSIGCHLD is not going in, this change is still required. Which is why I put it into a separate commit and review.

This revision is now accepted and ready to land.Mon, Jul 13, 12:35 AM
This revision was automatically updated to reflect the committed changes.