HomeFreeBSD

uma: fix pages <-> items conversions at several places

Description

uma: fix pages <-> items conversions at several places

Those places were not taking into account uk_ppera.
At present one allocation is always used by one slab, so uk_ppera must
be used to convert between pages and slabs.
uk_ipers is used to convert between slabs and items.

MFC after: 1 month (if ever)

Details

Provenance
avgAuthored on
Parents
rS315077: uma: eliminate uk_slabsize field
Branches
Unknown
Tags
Unknown