In FreeBSD 7.0 and beyond, pmap_growkernel() should pass VM_ALLOC_INTERRUPT

to vm_page_alloc() instead of VM_ALLOC_SYSTEM.
This commit is contained in:
Alan Cox 2008-07-07 17:31:02 +00:00
parent cc82a18b88
commit 43dcfbc191
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=180353

View File

@ -1239,7 +1239,7 @@ pmap_growkernel(vm_offset_t addr)
/*
* This index is bogus, but out of the way
*/
req = VM_ALLOC_SYSTEM | VM_ALLOC_WIRED | VM_ALLOC_NOOBJ;
req = VM_ALLOC_INTERRUPT | VM_ALLOC_WIRED | VM_ALLOC_NOOBJ;
#ifdef VM_ALLOC_WIRED_TLB_PG_POOL
if (need_wired_tlb_page_pool)
req |= VM_ALLOC_WIRED_TLB_PG_POOL;