Merge memstat_uma.c:1.13 from HEAD to RELENG_6:
Correct a typo in the extraction of zone information from UMA using kmem: bytes = allocated - freed, not bytes = allocated = freed. Approved by: re (scottl)
This commit is contained in:
parent
ddcacb3189
commit
837a6e1c15
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user