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)
Sun, Jun 7, 7:15 PM
Unknown Object (File)
Apr 24 2026, 3:18 PM
Unknown Object (File)
Apr 23 2026, 4:45 PM
Unknown Object (File)
Apr 21 2026, 6:47 AM
Unknown Object (File)
Apr 20 2026, 5:22 AM
Unknown Object (File)
Apr 19 2026, 3:24 AM
Unknown Object (File)
Apr 18 2026, 11:35 PM
Unknown Object (File)
Apr 18 2026, 5:51 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

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