Date: Thu, 29 Aug 2002 21:04:37 -0700 (PDT) From: Peter Wemm <peter@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha machdep.c src/sys/alpha/include md_var.h src/sys/alpha/osf1 osf1_misc.c src/sys/i386/i386 machdep.c src/sys/i386/include md_var.h src/sys/ia64/ia64 machdep.c src/sys/ia64/include md_var.h src/sys/kern subr_param.c ... Message-ID: <200208300404.g7U44c6C041012@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 2002/08/29 21:04:37 PDT Modified files: sys/alpha/alpha machdep.c sys/alpha/include md_var.h sys/alpha/osf1 osf1_misc.c sys/i386/i386 machdep.c sys/i386/include md_var.h sys/ia64/ia64 machdep.c sys/ia64/include md_var.h sys/kern subr_param.c vfs_bio.c sys/pc98/i386 machdep.c sys/powerpc/include md_var.h sys/powerpc/powerpc machdep.c sys/sparc64/include md_var.h sys/sparc64/sparc64 machdep.c sys/sys buf.h systm.h sys/vm vm_init.c Log: Change hw.physmem and hw.usermem to unsigned long like they used to be in the original hardwired sysctl implementation. The buf size calculator still overflows an integer on machines with large KVA (eg: ia64) where the number of pages does not fit into an int. Use 'long' there. Change Maxmem and physmem and related variables to 'long', mostly for completeness. Machines are not likely to overflow 'int' pages in the near term, but then again, 640K ought to be enough for anybody. This comes for free on 32 bit machines, so why not? Revision Changes Path 1.182 +20 -13 src/sys/alpha/alpha/machdep.c 1.20 +1 -1 src/sys/alpha/include/md_var.h 1.33 +1 -1 src/sys/alpha/osf1/osf1_misc.c 1.527 +16 -9 src/sys/i386/i386/machdep.c 1.53 +1 -1 src/sys/i386/include/md_var.h 1.108 +17 -10 src/sys/ia64/ia64/machdep.c 1.10 +1 -1 src/sys/ia64/include/md_var.h 1.55 +1 -1 src/sys/kern/subr_param.c 1.329 +1 -1 src/sys/kern/vfs_bio.c 1.288 +23 -13 src/sys/pc98/i386/machdep.c 1.22 +1 -1 src/sys/powerpc/include/md_var.h 1.36 +9 -5 src/sys/powerpc/powerpc/machdep.c 1.12 +1 -1 src/sys/sparc64/include/md_var.h 1.60 +2 -2 src/sys/sparc64/sparc64/machdep.c 1.138 +1 -1 src/sys/sys/buf.h 1.182 +2 -2 src/sys/sys/systm.h 1.34 +2 -2 src/sys/vm/vm_init.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208300404.g7U44c6C041012>