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

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 20 Aug 2011 13:40:28 -0700 (PDT)

commit 1f8fc82a8ce7b6648c3ec8a0f6149e3e8c3920f6
Author: Matthew Dillon <dillon@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



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