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 There is no fast spoon^Wfast path in pmap...



details:   https://anonhg.NetBSD.org/src/rev/22364efd2065
branches:  trunk
changeset: 971304:22364efd2065
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Apr 21 06:45:16 2020 +0000

description:
There is no fast spoon^Wfast path in pmap_clearbit.

PR port-arm/55186: tests crash arm pmap

Tested by martin@

diffstat:

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

diffs (33 lines):

diff -r 31166e920dd6 -r 22364efd2065 sys/arch/arm/arm32/pmap.c
--- a/sys/arch/arm/arm32/pmap.c Tue Apr 21 05:23:41 2020 +0000
+++ b/sys/arch/arm/arm32/pmap.c Tue Apr 21 06:45:16 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.411 2020/04/19 21:24:36 ad Exp $    */
+/*     $NetBSD: pmap.c,v 1.412 2020/04/21 06:45:16 skrll Exp $ */
 
 /*
  * Copyright 2003 Wasabi Systems, Inc.
@@ -192,7 +192,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.411 2020/04/19 21:24:36 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.412 2020/04/21 06:45:16 skrll Exp $");
 
 #include <sys/atomic.h>
 #include <sys/param.h>
@@ -2374,14 +2374,6 @@
 #endif
 
                /*
-                * Anything to do?
-                */
-               if ((oflags & maskbits) == 0 && execbits == 0) {
-                       pv = SLIST_NEXT(pv, pv_link);
-                       continue;
-               }
-
-               /*
                 * Try to get a hold on the pmap's lock.  We must do this
                 * while still holding the page locked, to know that the
                 * page is still associated with the pmap and the mapping is



Home | Main Index | Thread Index | Old Index