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 Add a missing pmap_release_page_lock



details:   https://anonhg.NetBSD.org/src/rev/a5498ff49e7c
branches:  trunk
changeset: 328521:a5498ff49e7c
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Apr 05 22:05:12 2014 +0000

description:
Add a missing pmap_release_page_lock

diffstat:

 sys/arch/arm/arm32/pmap.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r c8ae85f69383 -r a5498ff49e7c sys/arch/arm/arm32/pmap.c
--- a/sys/arch/arm/arm32/pmap.c Sat Apr 05 18:44:32 2014 +0000
+++ b/sys/arch/arm/arm32/pmap.c Sat Apr 05 22:05:12 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.280 2014/04/02 15:45:51 matt Exp $  */
+/*     $NetBSD: pmap.c,v 1.281 2014/04/05 22:05:12 skrll 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.280 2014/04/02 15:45:51 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.281 2014/04/05 22:05:12 skrll Exp $");
 
 //#define PMAP_DEBUG
 #ifdef PMAP_DEBUG
@@ -4405,6 +4405,7 @@
                         * Is this a mapping of an executable page?
                         */
                        if ((pv->pv_flags & PVF_EXEC) == 0) {
+                               pmap_release_page_lock(md);
                                UVMHIST_LOG(maphist, " <-- done (ref emul: no exec)",
                                    0, 0, 0, 0);
                                goto out;



Home | Main Index | Thread Index | Old Index