freebsd-dev/sys/arm
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
..
arm Flip the semantic of M_NOWAIT to only require the allocation to not 2012-11-14 20:01:40 +00:00
at91 Reduce differences between these two initarms a bit more. 2012-11-08 04:02:36 +00:00
broadcom/bcm2835 Merge the FDT versions of initarm. 2012-11-03 22:39:07 +00:00
compile
conf Add BCM2835 SDHCI driver and enable it in Raspberry Pi config 2012-10-29 17:23:45 +00:00
econa Create a common set_stackptrs in sys/arm/machdep.c. 2012-09-22 06:41:56 +00:00
include Merge the FDT versions of initarm. 2012-11-03 22:39:07 +00:00
lpc Fix typo; s/ouput/output 2012-11-07 07:00:59 +00:00
mv Merge the FDT versions of initarm. 2012-11-03 22:39:07 +00:00
s3c2xx0 Create a common set_stackptrs in sys/arm/machdep.c. 2012-09-22 06:41:56 +00:00
sa11x0 Create a common set_stackptrs in sys/arm/machdep.c. 2012-09-22 06:41:56 +00:00
tegra Merge the FDT versions of initarm. 2012-11-03 22:39:07 +00:00
ti Merge the FDT versions of initarm. 2012-11-03 22:39:07 +00:00
xscale This isn't functionally identical. In some cases a hint to disable 2012-10-22 13:06:09 +00:00