freebsd-skq/sys/powerpc
kib e8ae50d444 Flip the semantic of M_NOWAIT to only require the allocation to not
sleep, and perform the page allocations with VM_ALLOC_SYSTEM
class. Previously, the allocation was also allowed to completely drain
the reserve of the free pages, being translated to VM_ALLOC_INTERRUPT
request class for vm_page_alloc() and similar functions.

Allow the caller of malloc* to request the 'deep drain' semantic by
providing M_USE_RESERVE flag, now translated to VM_ALLOC_INTERRUPT
class. Previously, it resulted in less aggressive VM_ALLOC_SYSTEM
allocation class.

Centralize the translation of the M_* malloc(9) flags in the single
inline function malloc2vm_flags().

Discussion started by:	"Sears, Steven" <Steven.Sears@netapp.com>
Reviewed by:	alc, mdf (previous version)
Tested by:	pho (previous version)
MFC after:	2 weeks
2012-11-14 20:01:40 +00:00
..
aim Flip the semantic of M_NOWAIT to only require the allocation to not 2012-11-14 20:01:40 +00:00
booke Replace all uses of the page queues lock by a R/W lock that is private 2012-11-03 23:22:49 +00:00
compile
conf Add DTrace to 32-bit PowerPC GENERIC now. 2012-11-08 01:51:23 +00:00
cpufreq Remove unused variables. Spotted by a cppcheck 2011-01-06 20:19:01 +00:00
fpu Mark all SYSCTL_NODEs static that have no corresponding SYSCTL_DECLs. 2011-11-07 15:43:11 +00:00
include Allow this file to be used in LOCORE sections of the kernel. 2012-11-12 06:15:54 +00:00
mambo kern cons: introduce infrastructure for console grabbing by kernel 2011-12-17 15:08:43 +00:00
mpc85xx Align the PCI Express #defines with the style used for the PCI-X 2012-09-18 22:04:59 +00:00
ofw Remove leftover from r215163. 2012-09-21 21:27:57 +00:00
powermac Work around broken device tree on last-generation PowerPC iMacs 2012-10-29 14:27:28 +00:00
powerpc Improve the handling of static DMA buffers that use non-default memory 2012-08-03 13:50:29 +00:00
ps3 - Change contigmalloc() to use the vm_paddr_t type instead of an unsigned 2012-03-01 19:58:34 +00:00
psim Fix the interrupt code, broken 7 months ago. The interrupt framework 2011-01-29 20:58:38 +00:00
wii Fix the memory regions to include the 64MB DDR3 memory slot. 2012-10-22 03:45:37 +00:00