git: kernel - 64-bit memory & ncpus work

看板DFBSD_commit作者時間15年前 (2010/12/07 11:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 8e5ea5f7b61a946bed6ddcbf3a9fa2c024a37258 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Mon Dec 6 19:24:30 2010 -0800 kernel - 64-bit memory & ncpus work * Create a macro and bsr function for cpu masks in preparation for making cpumask_t 64 bits on 64-bit builds. cpumask_t is still 32 bits in this commit. * Expand SMP_MAXCPUS to 31 for 64-bit builds in preparation for eventually expanding it to 63. * Fix an array overflow when probing ncpus on 64-bit. * Increase the boot-time kmap entries to accomodate large numbers of cpus. * Clean up a few places where integer overflows could occur on 64-bit machines with large amounts of ram. For the moment we are limited to 32G. This will change in a followup commit. Summary of changes: sys/cpu/i386/include/types.h | 3 +++ sys/cpu/x86_64/include/param.h | 2 +- sys/cpu/x86_64/include/types.h | 3 +++ sys/platform/pc32/i386/pmap.c | 2 +- sys/platform/pc64/x86_64/machdep.c | 8 ++++++++ sys/platform/pc64/x86_64/mp_machdep.c | 6 +++++- sys/platform/pc64/x86_64/pmap.c | 11 +++++++---- sys/platform/vkernel/platform/pmap.c | 2 +- sys/platform/vkernel64/platform/pmap.c | 2 +- sys/vm/pmap.h | 2 +- sys/vm/vm_map.c | 6 +++++- sys/vm/vm_map.h | 2 +- 12 files changed, 37 insertions(+), 12 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8e5ea5f7b61a946bed6ddcbf3a9fa2c024a37258 -- DragonFly BSD source repository
文章代碼(AID): #1C_QgtMA (DFBSD_commit)