git: kernel - Add vm.swapcache.maxscan

Matthew Dillon dillon at
Mon Dec 26 12:03:22 PST 2011

commit 0bf8126181b006215fc295c8ba2700bb6c03b809
Author: Matthew Dillon <dillon at>
Date:   Mon Dec 26 12:01:49 2011 -0800

    kernel - Add vm.swapcache.maxscan
    * Add vm.swapcache.maxscan as a separate counter from vm.swapcache.maxlaunder.
    * Defaults to 4x maxlaunder.
    * Should hopefully fix another cpu hogging issue that was noticed on
      avalon when most VM pages wind up being cached in the swapcache
      but still get cycled in the PQ_INACTIVE VM page queue due to apache

Summary of changes:
 sys/vm/vm_swapcache.c |   23 ++++++++++++-----------
 1 files changed, 12 insertions(+), 11 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list