Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/arm32 Really fix locking this time.
details: https://anonhg.NetBSD.org/src/rev/e48b26878860
branches: trunk
changeset: 328396:e48b26878860
user: matt <matt%NetBSD.org@localhost>
date: Wed Apr 02 12:36:05 2014 +0000
description:
Really fix locking this time.
diffstat:
sys/arch/arm/arm32/pmap.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r 13596d0186fb -r e48b26878860 sys/arch/arm/arm32/pmap.c
--- a/sys/arch/arm/arm32/pmap.c Wed Apr 02 12:28:54 2014 +0000
+++ b/sys/arch/arm/arm32/pmap.c Wed Apr 02 12:36:05 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.275 2014/04/02 12:04:09 matt Exp $ */
+/* $NetBSD: pmap.c,v 1.276 2014/04/02 12:36:05 matt Exp $ */
/*
* Copyright 2003 Wasabi Systems, Inc.
@@ -216,7 +216,7 @@
#include <arm/locore.h>
//#include <arm/arm32/katelib.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.275 2014/04/02 12:04:09 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.276 2014/04/02 12:36:05 matt Exp $");
//#define PMAP_DEBUG
#ifdef PMAP_DEBUG
@@ -3205,8 +3205,9 @@
}
#endif
} else
- pmap_release_pmap_lock(pm);
+ pmap_release_page_lock(md);
if ((pv = pool_get(&pmap_pv_pool, PR_NOWAIT)) == NULL){
+ pmap_release_pmap_lock(pm);
if ((flags & PMAP_CANFAIL) == 0)
panic("pmap_enter: no pv entries");
Home |
Main Index |
Thread Index |
Old Index