freebsd-nq/sys
Attilio Rao 2d8b420b9f 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
2010-08-09 00:23:57 +00:00
..
amd64 Don't pass sizeof(u_int) to an argument of SYSCLT_PROC that ends up not 2010-08-08 20:34:53 +00:00
arm Very rough first cut at NUMA support for the physical page allocator. For 2010-07-27 20:33:50 +00:00
boot mdoc: make sure to pass at least one argument to quotation macros 2010-08-02 13:11:35 +00:00
bsm
cam Fix two (very common) occurrences of s/sytem/system in comments. 2010-08-02 18:06:49 +00:00
cddl In FreeBSD we use 'jailed' property. 2010-08-07 10:23:54 +00:00
compat Prefer struct sysentvec sv_psstrings to hardcoding FREEBSD32_PS_STRINGS 2010-08-07 11:57:13 +00:00
conf License ACK is not required for the wpifw module nor when building 2010-08-08 08:43:01 +00:00
contrib Merge ACPICA 20100806. 2010-08-06 23:11:19 +00:00
crypto Crypto(4) driver for AESNI. 2010-07-23 11:00:46 +00:00
ddb One more use for _SIG_VALID. 2010-07-12 10:18:10 +00:00
dev The PL2302X can support any baud rate <= 6Mbps, allow any rate to be set. 2010-08-08 20:53:00 +00:00
fs Properly bounds check ioctl/pioctl data arguments for Coda: 2010-08-07 08:08:14 +00:00
gdb
geom Check that gsp is not NULL before access. It can be NULL 2010-08-03 11:21:17 +00:00
gnu Move checking against RLIMIT_FSIZE into one place, vn_rlimit_fsize(). 2010-05-05 16:44:25 +00:00
i386 Don't pass sizeof(u_int) to an argument of SYSCLT_PROC that ends up not 2010-08-08 20:34:53 +00:00
ia64 Prefer struct sysentvec sv_psstrings to hardcoding FREEBSD32_PS_STRINGS 2010-08-07 11:57:13 +00:00
isa When we are not switching VTs, just mark all buffer to be updated. 2010-07-15 23:11:51 +00:00
kern The r208165 fixed a bug related to unsigned integer overflowing for the 2010-08-09 00:23:57 +00:00
kgssapi
libkern Provide memchr() in the libkern. 2010-06-02 17:27:23 +00:00
mips loadandclear() for PTEs are not needed on MIPS. The PTEs are software 2010-08-08 12:23:02 +00:00
modules Do not build real mode emulator for i386. We use VM86 again since r210877. 2010-08-08 06:18:05 +00:00
net Adjust the interface type in the link layer socket address for vlan(4) 2010-08-06 15:15:26 +00:00
net80211 - Introduce IEEE80211_KEY_NOREPLAY, a per-key flag to ignore replay 2010-07-01 20:50:12 +00:00
netatalk
netgraph Fix typo 2010-08-02 22:26:08 +00:00
netinet Address an edge condition that we found at work, where the carp(4) 2010-08-08 07:04:27 +00:00
netinet6 Document the mandatory argument to the arptimer() and 2010-07-31 21:33:18 +00:00
netipsec MFp4 @178283: 2010-05-24 16:27:47 +00:00
netipx
netnatm
netncp Switch to our preferred 2-clause BSD license. 2010-04-07 16:50:38 +00:00
netsmb Switch to our preferred 2-clause BSD license. 2010-04-07 16:50:38 +00:00
nfs Move sys/nfsclient/nfs_lock.c into sys/nfs and build it as a separate 2010-07-24 22:11:11 +00:00
nfsclient Add some mutex locking on the nfsnode to the regular NFS client. 2010-08-04 01:19:11 +00:00
nfsserver Patch the regular NFS server so that it returns ESTALE to the client 2010-03-26 01:19:29 +00:00
nlm
opencrypto Add compat32 shims for opencrypto(4). 2010-07-29 20:42:20 +00:00
pc98 Add MALLOC_DEBUG_MAXZONES debug malloc(9) option to use multiple uma 2010-07-28 15:36:12 +00:00
pci Implement WOL. WOL is supported on RTL8139B or newer controllers. 2010-07-19 18:01:06 +00:00
powerpc Add a new ipi_cpu() function to the MI IPI API that can be used to send an 2010-08-06 15:36:59 +00:00
rpc When the regular NFS server replied to a UDP client out of the replay 2010-03-23 23:03:30 +00:00
security Add a case to make sure that internal audit records get converted 2010-05-04 15:29:07 +00:00
sparc64 Wrap some sun4u-only symbols. 2010-08-08 14:37:16 +00:00
sun4v Add a new ipi_cpu() function to the MI IPI API that can be used to send an 2010-08-06 15:36:59 +00:00
sys Add new make_dev_p(9) flag MAKEDEV_ETERNAL to inform devfs that created 2010-08-06 09:42:15 +00:00
teken Just use <stdint.h> instead of <inttypes.h>. We don't need it here. 2010-04-03 17:22:28 +00:00
tools Flattened Device Tree helper scripts. 2010-06-02 17:22:38 +00:00
ufs Revert the previous commit. The race is not applicable to the lockmgr 2010-07-16 19:52:03 +00:00
vm Add new make_dev_p(9) flag MAKEDEV_ETERNAL to inform devfs that created 2010-08-06 09:42:15 +00:00
x86 When performing a sanity check on the SRAT table to ensure that each 2010-07-29 17:37:35 +00:00
xdr
xen don't hold spin lock across free 2010-02-21 01:12:18 +00:00
Makefile