freebsd-nq/sys/powerpc
Konstantin Belousov b32ecf44bc 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
fpu
include Allow this file to be used in LOCORE sections of the kernel. 2012-11-12 06:15:54 +00:00
mambo
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
psim
wii Fix the memory regions to include the 64MB DDR3 memory slot. 2012-10-22 03:45:37 +00:00