Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Aug 2010 00:23:57 +0000 (UTC)
From:      Attilio Rao <attilio@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/kern subr_smp.c
Message-ID:  <201008090024.o790O8Lx037868@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
attilio     2010-08-09 00:23:57 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             subr_smp.c 
  Log:
  SVN rev 211087 on 2010-08-09 00:23:57Z by attilio
  
  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
  
  Revision  Changes    Path
  1.221     +1 -4      src/sys/kern/subr_smp.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008090024.o790O8Lx037868>