kernel - VM rework part 18 - Cleanup
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 21 May 2019 20:55:43 +0000 (13:55 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 21 May 2019 21:55:59 +0000 (14:55 -0700)
commitdf49ec1e8e3e6cf6347f36d778f14b9c9baaff2d
tree2ec603817b4188f6e7b6dafba278d749c1323a46
parent2c68437386f4be2ed45a4dfa086b8d1697e3d8ec
kernel - VM rework part 18 - Cleanup

* Significantly reduce the zone limit for pvzone (for pmap
  pv_entry structures).  pv_entry's are no longer allocated
  on a per-page basis so the limit can be made much smaller.

  This also has the effect of reducing the per-cpu cache limit
  which ultimately stabilizes wired memory use for the zone.

* Also reduce the generic pre-cpu cache limit for zones.
  This only really effects the pvzone.

* Make pvzone, mapentzone, and swap_zone __read_mostly.

* Enhance vmstat -z, report current structural use and actual
  total memory use.

* Also cleanup the copyright statement for vm/vm_zone.c.  John Dyson's
  original copyright was slightly different than the BSD copyright and
  stipulated no changes, so separate out the DragonFly addendum.
sys/config/LINT64
sys/platform/pc64/conf/options
sys/platform/pc64/x86_64/pmap.c
sys/vm/swap_pager.c
sys/vm/vm_map.c
sys/vm/vm_zone.c
usr.bin/vmstat/vmstat.c