Module Name: src
Committed By: skrll
Date: Tue Apr 21 06:45:16 UTC 2020
Modified Files:
src/sys/arch/arm/arm32: pmap.c
Log Message:
There is no fast spoon^Wfast path in pmap_clearbit.
PR port-arm/55186: tests crash arm pmap
Tested by martin@
To generate a diff of this commit:
cvs rdiff -u -r1.411 -r1.412 src/sys/arch/arm/arm32/pmap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/arm/arm32/pmap.c
diff -u src/sys/arch/arm/arm32/pmap.c:1.411 src/sys/arch/arm/arm32/pmap.c:1.412
--- src/sys/arch/arm/arm32/pmap.c:1.411 Sun Apr 19 21:24:36 2020
+++ src/sys/arch/arm/arm32/pmap.c Tue Apr 21 06:45:16 2020
@@ -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 @@ pmap_clearbit(struct vm_page_md *md, pad
#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