Date: Tue, 14 Feb 2006 14:50:11 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha machdep.c src/sys/ia64/ia64 machdep.c src/sys/sparc64/sparc64 machdep.c Message-ID: <200602141450.k1EEoBk7004077@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2006-02-14 14:50:11 UTC FreeBSD src repository Modified files: sys/alpha/alpha machdep.c sys/ia64/ia64 machdep.c sys/sparc64/sparc64 machdep.c Log: Fix the hw.realmem sysctl. The global realmem variable is a count of pages, not a count of bytes. The sysctl handler for hw.realmem already uses ctob() to convert realmem from pages to bytes. Thus, on archs that were storing a byte count in the realmem variable, hw.realmem was inflated. Reported by: Valerio daelli valerio dot daelli at gmail dot com (alpha) MFC after: 3 days Revision Changes Path 1.237 +1 -1 src/sys/alpha/alpha/machdep.c 1.206 +1 -1 src/sys/ia64/ia64/machdep.c 1.127 +1 -1 src/sys/sparc64/sparc64/machdep.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602141450.k1EEoBk7004077>