git: kernel - Fix bug (not reached in normal operation) in vm_map_set_wired_quick()

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Dec 10 14:57:55 PST 2012


commit 3342365f56217707e40b417fc4775cd4f0f9cc3f
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Dec 10 14:37:28 2012 -0800

    kernel - Fix bug (not reached in normal operation) in vm_map_set_wired_quick()
    
    * Fix a bug where vm_map_set_wired_quick() only operated on the first
      vm_map_entry of a slab, and would panic if there were more.
    
    * Slab allocations are only going to have one vm_map_entry anyway so the
      bug was never hit.  But we fix it anyway.

Summary of changes:
 sys/vm/vm_map.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3342365f56217707e40b417fc4775cd4f0f9cc3f


-- 
DragonFly BSD source repository



More information about the Commits mailing list