Page MenuHomeFreeBSD

Fix keg_large_init() for internal zones
ClosedPublic

Authored by markj on Sep 12 2017, 2:32 PM.
Tags
None
Referenced Files
F131781796: D12342.diff
Sat, Oct 11, 3:04 AM
Unknown Object (File)
Tue, Sep 30, 6:47 PM
Unknown Object (File)
Thu, Sep 25, 9:24 PM
Unknown Object (File)
Jul 7 2025, 9:14 AM
Unknown Object (File)
Jul 3 2025, 6:21 AM
Unknown Object (File)
Jun 28 2025, 8:48 PM
Unknown Object (File)
Jun 21 2025, 10:49 PM
Unknown Object (File)
Jun 21 2025, 11:46 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