git: kernel - Fix hw.usermem, hw.physmem, hw.availpages
Matthew Dillon
dillon at crater.dragonflybsd.org
Tue Dec 5 23:01:23 PST 2017
commit 2114fc935b219c20d6839614939c3dc1acd61dd3
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Tue Dec 5 23:00:22 2017 -0800
kernel - Fix hw.usermem, hw.physmem, hw.availpages
* Fix the hw.usermem, hw.physmem, and hw.availpages sysctls.
Some of these were improperly 32-bit sysctls when they need
to be 64-bits, causing silly values to be returned on
machines with more than 2G of ram.
Reported-by: zrj
Summary of changes:
sys/platform/pc64/x86_64/machdep.c | 30 ++++++++++++++++++++----------
sys/platform/vkernel64/x86_64/cpu_regs.c | 16 ++++++++++------
2 files changed, 30 insertions(+), 16 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2114fc935b219c20d6839614939c3dc1acd61dd3
--
DragonFly BSD source repository
More information about the Commits
mailing list