Page MenuHomeFreeBSD

uma: report leaks more accurately
ClosedPublic

Authored by rlibby on Jan 20 2020, 3:21 AM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 28 2024, 6:13 AM
Unknown Object (File)
Nov 25 2024, 2:20 AM
Unknown Object (File)
Nov 20 2024, 8:23 PM
Unknown Object (File)
Nov 7 2024, 10:54 AM
Unknown Object (File)
Oct 18 2024, 10:41 AM
Unknown Object (File)
Oct 17 2024, 3:44 AM
Unknown Object (File)
Oct 15 2024, 7:37 PM
Unknown Object (File)
Oct 14 2024, 10:32 PM
Subscribers

Details

Summary

Previously UMA had some false negatives in the leak report at keg
destruction time, where it only reported leaks if there were free items
in the slab layer (rather than allocated items), which notably would not
be true for single-item slabs (large items). Now, report a leak if
there are any allocated pages, and calculate and report the number of
allocated items rather than free items.

Test Plan

Repro in bug 237656 now reports leak of "1 items" instead of "18 items".

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable