Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/include/arm32 Nuke the simplelock from vm_page_md



details:   https://anonhg.NetBSD.org/src/rev/9cf4336efe56
branches:  trunk
changeset: 773091:9cf4336efe56
user:      matt <matt%NetBSD.org@localhost>
date:      Sat Jan 28 00:18:30 2012 +0000

description:
Nuke the simplelock from vm_page_md

diffstat:

 sys/arch/arm/include/arm32/pmap.h |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r 50d2df00ab40 -r 9cf4336efe56 sys/arch/arm/include/arm32/pmap.h
--- a/sys/arch/arm/include/arm32/pmap.h Sat Jan 28 00:11:46 2012 +0000
+++ b/sys/arch/arm/include/arm32/pmap.h Sat Jan 28 00:18:30 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.h,v 1.100 2011/06/12 03:35:39 rmind Exp $ */
+/*     $NetBSD: pmap.h,v 1.101 2012/01/28 00:18:30 matt Exp $  */
 
 /*
  * Copyright (c) 2002, 2003 Wasabi Systems, Inc.
@@ -869,7 +869,6 @@
 #define        __HAVE_VM_PAGE_MD
 struct vm_page_md {
        SLIST_HEAD(,pv_entry) pvh_list;         /* pv_entry list */
-       struct simplelock pvh_slock;            /* lock on this head */
        int pvh_attrs;                          /* page attributes */
        u_int uro_mappings;
        u_int urw_mappings;
@@ -896,7 +895,6 @@
 #define        VM_MDPAGE_INIT(pg)                                              \
 do {                                                                   \
        SLIST_INIT(&(pg)->mdpage.pvh_list);                             \
-       simple_lock_init(&(pg)->mdpage.pvh_slock);                      \
        VM_MDPAGE_PVH_ATTRS_INIT(pg);                                   \
        (pg)->mdpage.uro_mappings = 0;                                  \
        (pg)->mdpage.urw_mappings = 0;                                  \



Home | Main Index | Thread Index | Old Index