DragonFly BSD
DragonFly commits List (threaded) for 2012-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 10 Dec 2012 14:57:55 -0800 (PST)

commit 3342365f56217707e40b417fc4775cd4f0f9cc3f
Author: Matthew Dillon <dillon@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]