freebsd-dev/sys/powerpc
Ryan Stone f2c2231e0c Fix integer truncation bug in malloc(9)
A couple of internal functions used by malloc(9) and uma truncated
a size_t down to an int.  This could cause any number of issues
(e.g. indefinite sleeps, memory corruption) if any kernel
subsystem tried to allocate 2GB or more through malloc.  zfs would
attempt such an allocation when run on a system with 2TB or more
of RAM.

Note to self: When this is MFCed, sparc64 needs the same fix.

Differential revision:	https://reviews.freebsd.org/D2106
Reviewed by:	kib
Reported by:	Michael Fuckner <michael@fuckner.net>
Tested by:	Michael Fuckner <michael@fuckner.net>
MFC after:	2 weeks
2015-04-01 12:42:26 +00:00
..
aim Fix integer truncation bug in malloc(9) 2015-04-01 12:42:26 +00:00
booke CCSRBAR_VA is mpc85xx-specific, so add guards, and include the proper header 2015-03-31 05:29:44 +00:00
conf Correct the ixgbe entries in mips and powerpc, and add the module 2015-03-18 16:54:03 +00:00
cpufreq Some style(9) fixes 2013-12-13 05:54:25 +00:00
fpu Kernel support for the Vector-Scalar eXtension (VSX) found on the POWER7 2015-02-22 21:40:27 +00:00
include Deallocate any leftover page table entries in the LPAR at boot. This 2015-03-13 00:08:58 +00:00
mambo Move Open Firmware device root on PowerPC, ARM, and MIPS systems to 2014-02-05 14:44:22 +00:00
mpc85xx Move Open Firmware device root on PowerPC, ARM, and MIPS systems to 2014-02-05 14:44:22 +00:00
ofw Make 32-bit PowerPC kernels, like 64-bit PowerPC kernels, position-independent 2015-03-07 20:14:46 +00:00
powermac Allow PowerMac systems to be booted from an FDT as well as Open Firmware. 2015-03-10 16:01:43 +00:00
powerpc Provide VSX context in ucontext(3) API. 2015-03-12 21:15:38 +00:00
ps3 Add support for USB display link adapters to the FB and VT drivers. 2015-03-07 20:45:15 +00:00
pseries Convert PTE eviction lock from an RW lock to a RM lock. It is held for 2015-03-16 16:29:33 +00:00
psim Move Open Firmware device root on PowerPC, ARM, and MIPS systems to 2014-02-05 14:44:22 +00:00