git: kernel - Fix bug in recent swap/paging work

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Jan 22 09:40:03 PST 2010


commit 711a015923054632de5d5f62c613ad242cf82e29
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Jan 22 09:35:24 2010 -0800

    kernel - Fix bug in recent swap/paging work
    
    * swap_pager_getpages() was improperly removing VM pages from their
      VM queues, causing the pages to become untracked.
    
      This resulted in a VM page leak over time as the system begins to
      page to/from swap which eventually deadlocks the system.
    
    * Cleanup #if conditionalized code from prior commits.

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

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/711a015923054632de5d5f62c613ad242cf82e29


-- 
DragonFly BSD source repository





More information about the Commits mailing list