Remove harmless leftover from code that cycles over zone's kegs. Just use +

instead of +=. There is no functional change.
This commit is contained in:
Gleb Smirnoff 2019-01-15 18:49:31 +00:00
parent cf64f5197b
commit f8c86a5fde

View File

@ -3914,10 +3914,10 @@ sysctl_vm_zone_stats(SYSCTL_HANDLER_ARGS)
kz->uk_ppera;
else
uth.uth_pages = kz->uk_pages;
uth.uth_maxpages += (z->uz_max_items / kz->uk_ipers) *
uth.uth_maxpages = (z->uz_max_items / kz->uk_ipers) *
kz->uk_ppera;
uth.uth_limit = z->uz_max_items;
uth.uth_keg_free += z->uz_keg->uk_free;
uth.uth_keg_free = z->uz_keg->uk_free;
/*
* A zone is secondary is it is not the first entry