summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_page.c
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2012-07-17 02:36:59 +0000
committeralc <alc@FreeBSD.org>2012-07-17 02:36:59 +0000
commitad2692aed9926b184f3b9376b29d1dab33d2497f (patch)
treed80e513a7be048a7538422eb0f929a07b9e82a0a /sys/vm/vm_page.c
parent2925be17026e0303b1763d85ca6cd5c7206f7aea (diff)
downloadFreeBSD-src-ad2692aed9926b184f3b9376b29d1dab33d2497f.zip
FreeBSD-src-ad2692aed9926b184f3b9376b29d1dab33d2497f.tar.gz
Correct vm_page_alloc_contig()'s implementation of VM_ALLOC_NODUMP.
Diffstat (limited to 'sys/vm/vm_page.c')
-rw-r--r--sys/vm/vm_page.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c
index 496fce9..8e76727 100644
--- a/sys/vm/vm_page.c
+++ b/sys/vm/vm_page.c
@@ -1684,7 +1684,7 @@ retry:
}
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". */
OpenPOWER on IntegriCloud