Page MenuHomeFreeBSD

Fix keg_large_init() for internal zones
AbandonedPublic

Authored by markj on Sep 12 2017, 2:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 31 2023, 9:46 PM
Unknown Object (File)
Aug 24 2023, 7:53 AM
Unknown Object (File)
Aug 17 2023, 3:53 AM
Unknown Object (File)
Jun 30 2023, 7:01 AM
Unknown Object (File)
May 25 2023, 7:18 PM
Unknown Object (File)
May 8 2023, 5:41 AM
Subscribers
None

Details

Reviewers
None
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 11520
Build 11874: arc lint + arc unit