Page MenuHomeFreeBSD

proc: eliminate zombproc list
ClosedPublic

Authored by mjg on Aug 28 2019, 2:49 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 3, 2:36 PM
Unknown Object (File)
Sun, Dec 1, 3:48 PM
Unknown Object (File)
Fri, Nov 29, 7:04 PM
Unknown Object (File)
Oct 17 2024, 2:22 PM
Unknown Object (File)
Oct 4 2024, 11:00 AM
Unknown Object (File)
Oct 2 2024, 6:02 AM
Unknown Object (File)
Sep 8 2024, 9:27 AM
Unknown Object (File)
Sep 8 2024, 9:24 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.