Correct vm_page_alloc_contig()'s implementation of VM_ALLOC_NODUMP.
This commit is contained in:
parent
2925be1702
commit
ad2692aed9
@ -1684,7 +1684,7 @@ retry:
|
|||||||
}
|
}
|
||||||
for (m = m_ret; m < &m_ret[npages]; m++) {
|
for (m = m_ret; m < &m_ret[npages]; m++) {
|
||||||
m->aflags = 0;
|
m->aflags = 0;
|
||||||
m->flags &= flags;
|
m->flags = (m->flags | PG_NODUMP) & flags;
|
||||||
if ((req & VM_ALLOC_WIRED) != 0)
|
if ((req & VM_ALLOC_WIRED) != 0)
|
||||||
m->wire_count = 1;
|
m->wire_count = 1;
|
||||||
/* Unmanaged pages don't use "act_count". */
|
/* Unmanaged pages don't use "act_count". */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user