b32ecf44bc
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 |
||
---|---|---|
.. | ||
autoconf.c | ||
bus_machdep.c | ||
busdma_machdep.c | ||
clock.c | ||
context.S | ||
db_machdep.c | ||
dump_machdep.c | ||
efi.c | ||
elf_machdep.c | ||
emulate.c | ||
exception.S | ||
gdb_machdep.c | ||
genassym.c | ||
highfp.c | ||
in_cksum.c | ||
interrupt.c | ||
iodev_machdep.c | ||
locore.S | ||
machdep.c | ||
mca.c | ||
mem.c | ||
mp_locore.S | ||
mp_machdep.c | ||
nexus.c | ||
pal.S | ||
physical.S | ||
physmem.c | ||
pmap.c | ||
ptrace_machdep.c | ||
sal.c | ||
sapic.c | ||
setjmp.S | ||
stack_machdep.c | ||
support.S | ||
sys_machdep.c | ||
syscall.S | ||
trap.c | ||
uio_machdep.c | ||
uma_machdep.c | ||
unaligned.c | ||
unwind.c | ||
vm_machdep.c |