1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-02 12:20:51 +00:00

Correct vm_page_alloc_contig()'s implementation of VM_ALLOC_NODUMP.

This commit is contained in:
Alan Cox 2012-07-17 02:36:59 +00:00
parent d14fdb79fe
commit da1ab8a4a0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=238543

View File

@ -1684,7 +1684,7 @@ vm_page_alloc_contig(vm_object_t object, vm_pindex_t pindex, int req,
}
for (m = m_ret; m < &m_ret[npages]; m++) {
m->aflags = 0;
m->flags &= flags;
m->flags = (m->flags | PG_NODUMP) & flags;
if ((req & VM_ALLOC_WIRED) != 0)
m->wire_count = 1;
/* Unmanaged pages don't use "act_count". */