Page MenuHomeFreeBSD

proc: eliminate zombproc list
ClosedPublic

Authored by mjg on Aug 28 2019, 2:49 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 11, 5:10 AM
Unknown Object (File)
Sep 13 2025, 9:09 AM
Unknown Object (File)
Aug 16 2025, 12:22 PM
Unknown Object (File)
Aug 12 2025, 7:38 AM
Unknown Object (File)
Jul 12 2025, 12:17 AM
Unknown Object (File)
Jul 5 2025, 12:22 AM
Unknown Object (File)
Jun 21 2025, 11:56 AM
Unknown Object (File)
Jun 17 2025, 7:30 AM
Subscribers

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
Lint Not Applicable
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.