kernel - Fix overflows in vm_zone.c
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 9 Nov 2011 10:22:27 +0000 (02:22 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 9 Nov 2011 10:22:27 +0000 (02:22 -0800)
commit7e72902dd15def82ff1b6f3d5e1805c6fb3b43e7
tree2863be3f85b6f0914a4f30ef873e9c64f5f186d6
parentf1d3f4223a161c4e97e85268be2cc6dd16b9f6c8
kernel - Fix overflows in vm_zone.c

* Numerous fields have to be size_t or long and several calculations have
  to be cast to size_t.

* Allows the pv_entry zalloc zone to exceed 2GB of KVM.
sys/vm/vm_zone.c