Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/uebayasi-xip]: src/sys/uvm Don't set PG_FAKE for device pages.
details: https://anonhg.NetBSD.org/src/rev/58633b4493af
branches: uebayasi-xip
changeset: 751883:58633b4493af
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Sat Nov 20 07:52:30 2010 +0000
description:
Don't set PG_FAKE for device pages.
XXX PG_FAKE should be renamed as PG_UNINITED!
diffstat:
sys/uvm/uvm_page.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 1efdcb9ed1b6 -r 58633b4493af sys/uvm/uvm_page.c
--- a/sys/uvm/uvm_page.c Sat Nov 20 07:47:34 2010 +0000
+++ b/sys/uvm/uvm_page.c Sat Nov 20 07:52:30 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_page.c,v 1.153.2.65 2010/11/15 17:32:01 uebayasi Exp $ */
+/* $NetBSD: uvm_page.c,v 1.153.2.66 2010/11/20 07:52:30 uebayasi Exp $ */
/*
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -97,7 +97,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_page.c,v 1.153.2.65 2010/11/15 17:32:01 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_page.c,v 1.153.2.66 2010/11/20 07:52:30 uebayasi Exp $");
#include "opt_ddb.h"
#include "opt_uvmhist.h"
@@ -862,7 +862,7 @@
paddr_t paddr = (start + i) << PAGE_SHIFT;
pg->phys_addr = paddr;
- pg->flags |= PG_FAKE | PG_CLEAN | PG_DEVICE;
+ pg->flags |= PG_CLEAN | PG_DEVICE;
if (prot == VM_PROT_READ)
pg->flags |= PG_RDONLY;
#ifdef __HAVE_VM_PAGE_MD
Home |
Main Index |
Thread Index |
Old Index