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 PR port-arm/55186: tests crash arm pmap
details: https://anonhg.NetBSD.org/src/rev/b3469ee5b115
branches: trunk
changeset: 971269:b3469ee5b115
user: ad <ad%NetBSD.org@localhost>
date: Sun Apr 19 21:24:36 2020 +0000
description:
PR port-arm/55186: tests crash arm pmap
pmap_clearbit(): take execbits into account in the fastpath.
diffstat:
sys/arch/arm/arm32/pmap.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r f6e84287448d -r b3469ee5b115 sys/arch/arm/arm32/pmap.c
--- a/sys/arch/arm/arm32/pmap.c Sun Apr 19 21:11:42 2020 +0000
+++ b/sys/arch/arm/arm32/pmap.c Sun Apr 19 21:24:36 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.410 2020/04/19 19:36:49 kre Exp $ */
+/* $NetBSD: pmap.c,v 1.411 2020/04/19 21:24:36 ad Exp $ */
/*
* Copyright 2003 Wasabi Systems, Inc.
@@ -192,7 +192,7 @@
#endif
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.410 2020/04/19 19:36:49 kre Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.411 2020/04/19 21:24:36 ad Exp $");
#include <sys/atomic.h>
#include <sys/param.h>
@@ -2376,7 +2376,7 @@
/*
* Anything to do?
*/
- if ((oflags & maskbits) == 0) {
+ if ((oflags & maskbits) == 0 && execbits == 0) {
pv = SLIST_NEXT(pv, pv_link);
continue;
}
Home |
Main Index |
Thread Index |
Old Index