Fix keg_large_init() for internal zones

Authored by markj on Sep 12 2017, 2:32 PM.



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 OK
No Unit Test Coverage
Build Status
Buildable 11521
Build 11875: arc lint + arc unit
markj created this revision.Sep 12 2017, 2:32 PM
avg accepted this revision.Sep 13 2017, 11:53 AM


This revision is now accepted and ready to land.Sep 13 2017, 11:53 AM
This revision was automatically updated to reflect the committed changes.