/[base]
ViewVC logotype

Revision 211087


Jump to revision: Previous Next
Author: attilio
Date: Mon Aug 9 00:23:57 2010 UTC (13 years, 10 months ago)
Changed paths: 1
Log Message:
The r208165 fixed a bug related to unsigned integer overflowing for the
number of CPUs detection.
However, that was not mention at all, the problem was not reported, the
patch has not been MFCed and the fix is mostly improper.

Fix the original overflow (caused when 32 CPUs must be detected) by
just using a different mathematical computation (it also makes more
explicit the size of operands involved, which is good in the moment
waiting for a more complete support for a large number of CPUs).

PR:		kern/148698
Submitted by:	Joe Landers <jlanders at vmware dot com>
Tested by:	gianni
MFC after:	10 days


Changed paths

Path Details
Directoryhead/sys/kern/subr_smp.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27