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)
Thu, Oct 30, 3:58 AM
Unknown Object (File)
Tue, Oct 28, 1:16 AM
Unknown Object (File)
Tue, Oct 14, 9:53 PM
Unknown Object (File)
Sat, Oct 11, 3:04 AM
Unknown Object (File)
Sep 30 2025, 6:47 PM
Unknown Object (File)
Sep 25 2025, 9:24 PM
Unknown Object (File)
Jul 7 2025, 9:14 AM
Unknown Object (File)
Jul 3 2025, 6:21 AM
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