Correct a typo in the extraction of zone information from UMA using kmem:

bytes = allocated - freed, not bytes = allocated = freed.

MFC after:	3 days
This commit is contained in:
Robert Watson 2006-02-11 16:54:00 +00:00
parent cda869c9db
commit ee4be9485c

View File

@ -409,7 +409,7 @@ skip_percpu:
mtp->mt_size = kz.uk_size;
mtp->mt_memalloced = mtp->mt_numallocs * mtp->mt_size;
mtp->mt_memfreed = mtp->mt_numfrees * mtp->mt_size;
mtp->mt_bytes = mtp->mt_memalloced = mtp->mt_memfreed;
mtp->mt_bytes = mtp->mt_memalloced - mtp->mt_memfreed;
if (kz.uk_ppera > 1)
mtp->mt_countlimit = kz.uk_maxpages /
kz.uk_ipers;