kernel64 - Greatly reduce memory probe times, remove basemem calculation
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 1 Feb 2011 22:23:29 +0000 (14:23 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 1 Feb 2011 22:23:29 +0000 (14:23 -0800)
commitb4d9abe2a11fcb0cf4c8ff6296254d1bee824f2e
tree52049d03d672c2da9ee9c1fd329cca2d2a1742f8
parent87cf68272394d5f8607f09b8fa5b30af2901b1b4
kernel64 - Greatly reduce memory probe times, remove basemem calculation

* Greatly reduce memory probe times by testing in multiples of 128K instead
  of multiples of 4K.  Also add cpu_mfence() instructions to flush the
  cpu store buffer.

  This greatly reduces the startup time for x86-64 on monster machines
  with lots of memory (tested w/64G).

* Remove the basemem calculation, it is no longer used.
sys/platform/pc64/include/md_var.h
sys/platform/pc64/x86_64/machdep.c