git: kernel - VM rework part 16 - Optimization & cleanup pass

Matthew Dillon dillon at crater.dragonflybsd.org
Tue May 21 10:26:28 PDT 2019


commit 78831f77f06ae028d9024642403b6f8055df8af3
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon May 20 09:37:12 2019 -0700

    kernel - VM rework part 16 - Optimization & cleanup pass
    
    * Adjust __exclusive_cache_line to use 128-byte alignment as
      per suggestion by mjg.  Use this for the global vmstats.
    
    * Add the vmmeter_neg_slop_cnt global, which is a more generous
      dynamic calculation verses -VMMETER_SLOP_COUNT.  The idea is to
      return how often vm_page_alloc() synchronizes its per-cpu statistics
      with the global vmstats.

Summary of changes:
 sys/sys/cdefs.h     |  2 +-
 sys/vm/vm_meter.c   |  2 +-
 sys/vm/vm_page.c    |  9 ++++++++-
 sys/vm/vm_page.h    |  1 +
 sys/vm/vm_pageout.c | 23 ++++++++++++++---------
 5 files changed, 25 insertions(+), 12 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/78831f77f06ae028d9024642403b6f8055df8af3


-- 
DragonFly BSD source repository



More information about the Commits mailing list