vkernel - Change default pre-zeroing of main memory
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 6 Feb 2017 01:32:08 +0000 (17:32 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 6 Feb 2017 01:32:08 +0000 (17:32 -0800)
commitc5f1256ba86dd0b32671cca8341215a4876a5915
tree6cebe1604316af79d20ae8a0dd0657ab64955e69
parentff4434f56e60222201ebf3d3e7703af801850bfa
vkernel - Change default pre-zeroing of main memory

* Do not pre-zero memory by default, because it interferes with the
  ability to feed NUMA associations down into the vkernel.

* Add the -z option to force pre-zeroing of memory, which can be
  useful when doing basic benchmarking (to avoid the overhead of the
  vkernel having to do initial-pageins of its main memory, which can
  extend over a long period of time).
share/man/man7/vkernel.7
sys/platform/vkernel64/platform/init.c