git: kernel64 - Greatly reduce memory probe times, remove baseme

看板DFBSD_commit作者時間15年前 (2011/02/02 06:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit b4d9abe2a11fcb0cf4c8ff6296254d1bee824f2e Author: Matthew Dillon <dillon@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
文章代碼(AID): #1DI8dd-i (DFBSD_commit)