Page MenuHomeFreeBSD

Fix fixjobc+orhpanage.
ClosedPublic

Authored by kib on Sat, Sep 12, 6:54 PM.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

kib created this revision.Sat, Sep 12, 6:54 PM
kib requested review of this revision.Sat, Sep 12, 6:54 PM
kib updated this revision to Diff 76961.Sat, Sep 12, 10:43 PM

One more replacement of bare p->p_pptr by proc_realparent(p).

emaste added a subscriber: emaste.Mon, Sep 14, 3:58 PM
kib updated this revision to Diff 77083.Tue, Sep 15, 10:38 PM

Update to the current diff, as being tested:
Most important change, correct calculation of the parent for exiting process. For jobc purposes, we must use realparent, but if it is also exiting, we should fall to reaper, then recursively find non-exiting reaper.
Improve ddb command to show more useful information of process groups + job control state.

pho added a comment.Wed, Sep 16, 6:40 PM

I have completed a full stress2 test.
I have not observed any problems with this patch.

This revision was not accepted when it landed; it landed in state Needs Review.Wed, Sep 16, 9:34 PM
This revision was automatically updated to reflect the committed changes.