Page MenuHomeFreeBSD

pdwait(2): make debugging events functional
ClosedPublic

Authored by kib on Sat, Jul 11, 3:52 PM.
Tags
None
Referenced Files
F162588727: D58172.id181776.diff
Tue, Jul 14, 8:15 PM
Unknown Object (File)
Tue, Jul 14, 1:47 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.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.