Page MenuHomeFreeBSD

proc: eliminate zombproc list
ClosedPublic

Authored by mjg on Aug 28 2019, 2:49 AM.

Details

Summary

There is no need for it in the kernel and contention on the zombproc list lock slightly drives up both allproc and proctree (the lock is taken with either of them held).

I did not change the loop in db_ps to do everything over the hash since it would completely change the (probably expected) order.

Diff Detail

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

Event Timeline

mjg edited the summary of this revision. (Show Details)
mjg retitled this revision from proc: elimnate zombproc_list to proc: eliminate zombproc list.Aug 28 2019, 4:59 AM
mjg edited the summary of this revision. (Show Details)
mjg set the repository for this revision to rS FreeBSD src repository - subversion.
This revision is now accepted and ready to land.Aug 28 2019, 10:28 AM
This revision was automatically updated to reflect the committed changes.