git: kernel - Improve pageout daemon pipelining.

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Feb 10 22:18:02 PST 2020


commit 4dbfefb68c77d1cc21a2f148f838ef7eea7050d3
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Feb 10 22:13:13 2020 -0800

    kernel - Improve pageout daemon pipelining.
    
    * Improve the pageout daemon's ability to pipeline writes to the
      swap pager.  This deals with a number of low-memory situations
      where the pageout daemon was stopping too early (at the minimum
      free page mark).
    
    * We don't want the pageout daemon to enforce the paging targets
      after a successful pass (as this makes it impossible to actually
      use the memory in question), but we DO want it to continue pipelining
      if the page stats are still below the hysteresis point governed by
      vm_paging_needed().

Summary of changes:
 sys/vm/vm_page.c    |   8 ++--
 sys/vm/vm_pageout.c | 126 +++++++++++++++++++++++++++++++++++++++++++---------
 2 files changed, 109 insertions(+), 25 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4dbfefb68c77d1cc21a2f148f838ef7eea7050d3


-- 
DragonFly BSD source repository



More information about the Commits mailing list