kernel - Adjust pagezero/pagecopy assembly and re-enable VM_ALLOC_ZERO
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 26 Oct 2011 21:48:10 +0000 (14:48 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 26 Oct 2011 21:48:10 +0000 (14:48 -0700)
commit8f901ed8c5e62fb529eb8944758cee9e70f0ea5b
treea0a7e37332ec11da6427d0fe2e260e0b9e067075
parentf2c5d4ab43eb3300236045f944aa0021db095c53
kernel - Adjust pagezero/pagecopy assembly and re-enable VM_ALLOC_ZERO

* Remove the movnti, sfence, and prefetch instructions from the pagezero(0
  and pagecopy() assembly.  They don't help and will eve hurt on some of
  the less powerful cpus.

* Re-enable the use of VM_ALLOC_ZERO.  There was no difference in test
  compile times w/ the concurrent buildkernel -j 48 NO_MODULES=TRUE test.
  It might help w/lower-load edge cases so keep it around.
sys/platform/pc64/x86_64/support.s
sys/vm/vm_fault.c