Module Name:    src
Committed By:   uebayasi
Date:           Sat Nov 20 08:00:53 UTC 2010

Modified Files:
        src/sys/uvm [uebayasi-xip]: uvm_vnode.c

Log Message:
uvn_findpage_xip: This is responsible to return a page with marked
as "busy".


To generate a diff of this commit:
cvs rdiff -u -r1.93.2.4 -r1.93.2.5 src/sys/uvm/uvm_vnode.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/uvm/uvm_vnode.c
diff -u src/sys/uvm/uvm_vnode.c:1.93.2.4 src/sys/uvm/uvm_vnode.c:1.93.2.5
--- src/sys/uvm/uvm_vnode.c:1.93.2.4	Thu Nov 18 16:16:36 2010
+++ src/sys/uvm/uvm_vnode.c	Sat Nov 20 08:00:53 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: uvm_vnode.c,v 1.93.2.4 2010/11/18 16:16:36 uebayasi Exp $	*/
+/*	$NetBSD: uvm_vnode.c,v 1.93.2.5 2010/11/20 08:00:53 uebayasi Exp $	*/
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -50,7 +50,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_vnode.c,v 1.93.2.4 2010/11/18 16:16:36 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_vnode.c,v 1.93.2.5 2010/11/20 08:00:53 uebayasi Exp $");
 
 #include "opt_uvmhist.h"
 #include "opt_xip.h"
@@ -473,5 +473,7 @@
 
 	KASSERT(pg->phys_addr == (seg->start << PAGE_SHIFT) + off);
 
+	pg->flags |= PG_BUSY;
+
 	return pg;
 }

Reply via email to