Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Nov 2009 00:50:09 +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: r199870 - head/sys/vm
Message-ID:  <200911280050.nAS0o90U034131@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: alc
Date: Sat Nov 28 00:50:09 2009
New Revision: 199870
URL: http://svn.freebsd.org/changeset/base/199870

Log:
  Properly synchronize the previous change.

Modified:
  head/sys/vm/vm_fault.c

Modified: head/sys/vm/vm_fault.c
==============================================================================
--- head/sys/vm/vm_fault.c	Fri Nov 27 22:08:29 2009	(r199869)
+++ head/sys/vm/vm_fault.c	Sat Nov 28 00:50:09 2009	(r199870)
@@ -761,8 +761,10 @@ vnode_locked:
 				fs.first_m->valid = VM_PAGE_BITS_ALL;
 				if (wired && (fault_flags &
 				    VM_FAULT_CHANGE_WIRING) == 0) {
+					vm_page_lock_queues();
 					vm_page_wire(fs.first_m);
 					vm_page_unwire(fs.m, FALSE);
+					vm_page_unlock_queues();
 				}
 				/*
 				 * We no longer need the old page or object.



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