git: kernel - Fix vm_object leak which could exhaust swap space

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Aug 20 13:42:03 PDT 2011


commit 1f8fc82a8ce7b6648c3ec8a0f6149e3e8c3920f6
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Aug 20 13:38:42 2011 -0700

    kernel - Fix vm_object leak which could exhaust swap space
    
    * Fix a recently introduced vm_object leak.  When deallocating a vm_object
      ref_count must be decremented prior to calling vm_object_collapse() or
      we can wind up leaving an object sitting around with 0 refs on it.
    
    Reported-by: ftigeot, others

Summary of changes:
 sys/vm/vm_object.c |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1f8fc82a8ce7b6648c3ec8a0f6149e3e8c3920f6


-- 
DragonFly BSD source repository





More information about the Commits mailing list