git: kernel - Fix overflows in vm_zone.c

Matthew Dillon dillon at
Wed Nov 9 02:25:20 PST 2011

commit 7e72902dd15def82ff1b6f3d5e1805c6fb3b43e7
Author: Matthew Dillon <dillon at>
Date:   Wed Nov 9 02:22:27 2011 -0800

    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.

Summary of changes:
 sys/vm/vm_zone.c |   29 +++++++++++++++++------------
 1 files changed, 17 insertions(+), 12 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list