Page MenuHomeFreeBSD

pdwait(2): make debugging events functional
ClosedPublic

Authored by kib on Jul 11 2026, 3:52 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Aug 16, 7:48 AM
Unknown Object (File)
Fri, Aug 14, 6:32 PM
Unknown Object (File)
Thu, Aug 13, 11:52 PM
Unknown Object (File)
Thu, Aug 13, 2:56 AM
Unknown Object (File)
Mon, Aug 10, 2:18 PM
Unknown Object (File)
Sun, Aug 9, 7:47 AM
Unknown Object (File)
Sat, Aug 8, 7:17 PM
Unknown Object (File)
Sat, Aug 8, 11:43 AM
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.Jul 11 2026, 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.Jul 13 2026, 12:35 AM
This revision was automatically updated to reflect the committed changes.