kernel - VM rework part 16 - Optimization & cleanup pass
commit78831f77f06ae028d9024642403b6f8055df8af3
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 20 May 2019 16:37:12 +0000 (20 09:37 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 20 May 2019 19:39:25 +0000 (20 12:39 -0700)
treeb3cf031df1751220718f38cf51a1792313aa5969
parent831a850787c9f10e26859cda6911277adf3477f5
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.
sys/sys/cdefs.h
sys/vm/vm_meter.c
sys/vm/vm_page.c
sys/vm/vm_page.h
sys/vm/vm_pageout.c