Page MenuHomeFreeBSD

Fix keg_large_init() for internal zones
ClosedPublic

Authored by markj on Sep 12 2017, 2:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 23, 6:35 PM
Unknown Object (File)
Fri, Nov 15, 1:58 PM
Unknown Object (File)
Sat, Nov 9, 9:31 PM
Unknown Object (File)
Oct 17 2024, 12:14 PM
Unknown Object (File)
Sep 30 2024, 11:12 AM
Unknown Object (File)
Sep 30 2024, 12:16 AM
Unknown Object (File)
Sep 27 2024, 2:29 PM
Unknown Object (File)
Sep 23 2024, 5:46 PM
Subscribers
None

Details

Summary

If an internal zone has an item size that is slightly smaller than a
multiple of the page size, we won't take the slab header size into
account when allocating items. Fix that by adjusting the keg's ppera in
this case.

Also take the slab header size into account when computing the number of
pages allocated for UMA at boot time.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 11521
Build 11875: arc lint + arc unit