Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/uebayasi-xip]: src/sys/uvm Rename PGO_ZERO as PGO_HOLE, and s/uvm_page_z...
details: https://anonhg.NetBSD.org/src/rev/7955dd0f2242
branches: uebayasi-xip
changeset: 751900:7955dd0f2242
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Sun Nov 21 15:27:36 2010 +0000
description:
Rename PGO_ZERO as PGO_HOLE, and s/uvm_page_zeropage/uvm_page_holepage/.
diffstat:
sys/uvm/uvm_page.c | 20 ++++++++++----------
sys/uvm/uvm_page.h | 6 +++---
2 files changed, 13 insertions(+), 13 deletions(-)
diffs (77 lines):
diff -r 96592cd0f275 -r 7955dd0f2242 sys/uvm/uvm_page.c
--- a/sys/uvm/uvm_page.c Sun Nov 21 15:00:12 2010 +0000
+++ b/sys/uvm/uvm_page.c Sun Nov 21 15:27:36 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_page.c,v 1.153.2.67 2010/11/21 11:57:15 uebayasi Exp $ */
+/* $NetBSD: uvm_page.c,v 1.153.2.68 2010/11/21 15:27:36 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.67 2010/11/21 11:57:15 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_page.c,v 1.153.2.68 2010/11/21 15:27:36 uebayasi Exp $");
#include "opt_ddb.h"
#include "opt_uvmhist.h"
@@ -2235,22 +2235,22 @@
return (VM_PHYSMEM_PTR(lcv)->free_list);
}
-static int uvm_page_zeropage_init(void);
+static int uvm_page_holepage_init(void);
-struct vm_page *uvm_page_zeropage;
+struct vm_page *uvm_page_holepage;
struct vm_page *
-uvm_page_zeropage_alloc(void)
+uvm_page_holepage_alloc(void)
{
static ONCE_DECL(inited);
- (void)RUN_ONCE(&inited, uvm_page_zeropage_init);
- KASSERT(uvm_page_zeropage != NULL);
- return uvm_page_zeropage;
+ (void)RUN_ONCE(&inited, uvm_page_holepage_init);
+ KASSERT(uvm_page_holepage != NULL);
+ return uvm_page_holepage;
}
static int
-uvm_page_zeropage_init(void)
+uvm_page_holepage_init(void)
{
struct pglist mlist;
struct vm_page *pg;
@@ -2271,7 +2271,7 @@
uvm_pagewire(pg);
mutex_exit(&uvm_pageqlock);
- uvm_page_zeropage = pg;
+ uvm_page_holepage = pg;
return 0;
}
diff -r 96592cd0f275 -r 7955dd0f2242 sys/uvm/uvm_page.h
--- a/sys/uvm/uvm_page.h Sun Nov 21 15:00:12 2010 +0000
+++ b/sys/uvm/uvm_page.h Sun Nov 21 15:27:36 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_page.h,v 1.59.2.36 2010/11/15 17:32:01 uebayasi Exp $ */
+/* $NetBSD: uvm_page.h,v 1.59.2.37 2010/11/21 15:27:36 uebayasi Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -311,8 +311,8 @@
int uvm_page_lookup_freelist(struct vm_page *);
-extern struct vm_page *uvm_page_zeropage;
-struct vm_page *uvm_page_zeropage_alloc(void);
+extern struct vm_page *uvm_page_holepage;
+struct vm_page *uvm_page_holepage_alloc(void);
int vm_physseg_find(paddr_t, int *);
struct vm_page *uvm_phys_to_vm_page(paddr_t);
Home |
Main Index |
Thread Index |
Old Index