git: kernel - Abort pageout operations when free memory recovers

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Mar 1 22:10:10 PST 2013


commit 1e1efe396657e3342a290f9a034b71e61ddee9e3
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Mar 1 22:07:51 2013 -0800

    kernel - Abort pageout operations when free memory recovers
    
    * Nominal pageout operations free memory.  On systems with large amounts
      of ram the pageout count can be very large and take a long time to
      clear.  During this period, other unrelated processes might free memory.
      But even when sufficient memory is freed the pageout daemon still tries
      to finish clearing its previously calculated number of pages.
    
    * Add a check in the deactivation scan to break out of the loop if
      a sufficient number of free pages is detected.
    
    * Fixes unnecessary extra paging out of data (which can go on for several
      minutes) on large systems when memory is freed by other means.

Summary of changes:
 sys/vm/vm_pageout.c | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list