Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jul 2012 02:37:00 +0000 (UTC)
From:      Alan Cox <alc@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r238543 - head/sys/vm
Message-ID:  <201207170237.q6H2b0Bu007582@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: alc
Date: Tue Jul 17 02:36:59 2012
New Revision: 238543
URL: http://svn.freebsd.org/changeset/base/238543

Log:
  Correct vm_page_alloc_contig()'s implementation of VM_ALLOC_NODUMP.

Modified:
  head/sys/vm/vm_page.c

Modified: head/sys/vm/vm_page.c
==============================================================================
--- head/sys/vm/vm_page.c	Tue Jul 17 02:05:39 2012	(r238542)
+++ head/sys/vm/vm_page.c	Tue Jul 17 02:36:59 2012	(r238543)
@@ -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". */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207170237.q6H2b0Bu007582>