git: kernel - Fix int/long truncation problem in rman_reserve_resource()
Matthew Dillon
dillon at crater.dragonflybsd.org
Mon Oct 20 23:10:52 PDT 2014
commit fc4394d140be3e7dba4315d0af40b2efa433164e
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Mon Oct 20 23:08:50 2014 -0700
kernel - Fix int/long truncation problem in rman_reserve_resource()
* Use ulmin/ulmax instead of min/max in three places, fixing a 32-bit
truncation problem when setting up memory resources that caused our
48-core opteron to panic.
* An earlier commit adjusting count values to be more correct revealed
the bug.
* Fixes booting the kernel on our 48-core opteron w/128G of ram.
Summary of changes:
sys/kern/subr_rman.c | 6 +++---
sys/platform/pc64/x86_64/nexus.c | 10 +++++++---
2 files changed, 10 insertions(+), 6 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/fc4394d140be3e7dba4315d0af40b2efa433164e
--
DragonFly BSD source repository
More information about the Commits
mailing list