1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00
freebsd/sys/mips
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
..
adm5120 o) Use ABI, not ISA_* options, to determine whether to compile bits if libkern 2012-03-12 21:25:32 +00:00
alchemy o) Use ABI, not ISA_* options, to determine whether to compile bits if libkern 2012-03-12 21:25:32 +00:00
atheros Ensure that BAR(0) is set for the PCI slot before the ath(4) PCI registers 2012-08-26 04:39:20 +00:00
beri Add terasic_de4led, a led(4) driver for the on-board 8-element LED on the 2012-08-26 09:21:59 +00:00
cavium Add preliminary Octeon PCI console support. Radisys-specific PCI console 2012-11-13 07:39:49 +00:00
compile
conf Add some useful options to consider. 2012-11-13 07:34:46 +00:00
gxemul Add basic SMP support for GXemul. Ideally we would have some way to override 2012-05-07 04:36:48 +00:00
idt o) Use ABI, not ISA_* options, to determine whether to compile bits if libkern 2012-03-12 21:25:32 +00:00
include The function pmap_alloc_direct_page() unconditionally zeroes the returned 2012-11-14 17:33:00 +00:00
malta o) Use ABI, not ISA_* options, to determine whether to compile bits if libkern 2012-03-12 21:25:32 +00:00
mips Flip the semantic of M_NOWAIT to only require the allocation to not 2012-11-14 20:01:40 +00:00
nlm Add correct range parameter in XLP DTS 2012-08-21 09:37:23 +00:00
rmi remove duplicate semicolons where possible. 2012-10-22 03:00:37 +00:00
rt305x Turns out the nvram env was common, so move it back up to get PB92 working. 2012-10-23 19:17:43 +00:00
sentry5 o) Use ABI, not ISA_* options, to determine whether to compile bits if libkern 2012-03-12 21:25:32 +00:00
sibyte Remove platform APIs which are not used by any code and which had only stub 2012-03-12 07:34:15 +00:00