Page MenuHomeFreeBSD

proc: eliminate zombproc list
ClosedPublic

Authored by mjg on Aug 28 2019, 2:49 AM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 20 2023, 3:52 AM
Unknown Object (File)
Dec 13 2023, 3:48 AM
Unknown Object (File)
Nov 7 2023, 10:16 AM
Unknown Object (File)
Nov 5 2023, 4:34 AM
Unknown Object (File)
Oct 30 2023, 7:52 PM
Unknown Object (File)
Oct 6 2023, 9:07 AM
Unknown Object (File)
Oct 4 2023, 4:33 AM
Unknown Object (File)
Sep 30 2023, 4:32 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

Lint
Lint Skipped
Unit
Tests Skipped

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.