kernel - Improve per-cpu caching of pv_entry's
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 13 Nov 2011 17:39:14 +0000 (09:39 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 13 Nov 2011 17:39:14 +0000 (09:39 -0800)
commit5669360730c92e705c92afd02210e7859b0dc722
treef20b73692fa98b0b4607004aca88f1d3e45eab71
parent5c7ffcc8026beb10362edcb28989791578d9ebbc
kernel - Improve per-cpu caching of pv_entry's

* The vm_zone (zalloc) code needs to be replaced with objcache, but until
  we do continue improving certain critical paths in it.

* Burst fill an empty per-cpu cache to reduce overheads when working with
  large numbers of processes with large shared address spaces (postgres,
  mysql, etc).  This reduces contention under heavy use situations.
sys/vm/vm_zone.c