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, Mar 28, 2:30 PM
Unknown Object (File)
Jan 25 2024, 6:18 PM
Unknown Object (File)
Dec 20 2023, 5:59 AM
Unknown Object (File)
Aug 27 2023, 6:45 AM
Unknown Object (File)
Aug 12 2023, 9:14 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