Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/uebayasi-xip]: src/sys/uvm uvn_findpage_xip: This is responsible to retu...
details: https://anonhg.NetBSD.org/src/rev/25b7d371e9a3
branches: uebayasi-xip
changeset: 751884:25b7d371e9a3
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Sat Nov 20 08:00:53 2010 +0000
description:
uvn_findpage_xip: This is responsible to return a page with marked
as "busy".
diffstat:
sys/uvm/uvm_vnode.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 58633b4493af -r 25b7d371e9a3 sys/uvm/uvm_vnode.c
--- a/sys/uvm/uvm_vnode.c Sat Nov 20 07:52:30 2010 +0000
+++ b/sys/uvm/uvm_vnode.c Sat Nov 20 08:00:53 2010 +0000
@@ -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;
}
Home |
Main Index |
Thread Index |
Old Index