1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00
freebsd/sys/amd64
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
..
acpica - Remove unused code for CR3 and CR4. 2012-06-13 22:53:56 +00:00
amd64 Flip the semantic of M_NOWAIT to only require the allocation to not 2012-11-14 20:01:40 +00:00
compile
conf Integrate nvme(4) and nvd(4) into the amd64 and i386 builds. 2012-09-17 19:26:33 +00:00
ia32 Real hardware, as opposed to QEMU, does not allow to have a call gate 2012-08-14 12:13:27 +00:00
include Provide the reading and display of the Standard Extended Features, 2012-11-01 15:14:37 +00:00
linux32 Revert previous commit... 2012-10-10 08:36:38 +00:00
pci pciereg_cfg*: use assembly to access the mem-mapped cfg space 2012-10-14 10:13:50 +00:00
Makefile