git: kernel64 - Greatly reduce memory probe times, remove basemem calculation
Matthew Dillon
dillon at crater.dragonflybsd.org
Tue Feb 1 14:26:02 PST 2011
commit b4d9abe2a11fcb0cf4c8ff6296254d1bee824f2e
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Tue Feb 1 14:23:29 2011 -0800
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.
Summary of changes:
sys/platform/pc64/include/md_var.h | 1 -
sys/platform/pc64/x86_64/machdep.c | 117 ++++++++++++++++++++++-------------
2 files changed, 73 insertions(+), 45 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b4d9abe2a11fcb0cf4c8ff6296254d1bee824f2e
--
DragonFly BSD source repository
More information about the Commits
mailing list