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 In pmag_page_remove initilise pvp after t...
details: https://anonhg.NetBSD.org/src/rev/882a7328e7bd
branches: trunk
changeset: 974753:882a7328e7bd
user: skrll <skrll%NetBSD.org@localhost>
date: Mon Aug 10 05:38:43 2020 +0000
description:
In pmag_page_remove initilise pvp after taking the page lock
diffstat:
sys/arch/arm/arm32/pmap.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 9c24e8d1e3e2 -r 882a7328e7bd sys/arch/arm/arm32/pmap.c
--- a/sys/arch/arm/arm32/pmap.c Mon Aug 10 01:10:26 2020 +0000
+++ b/sys/arch/arm/arm32/pmap.c Mon Aug 10 05:38:43 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.417 2020/07/10 12:25:09 skrll Exp $ */
+/* $NetBSD: pmap.c,v 1.418 2020/08/10 05:38:43 skrll Exp $ */
/*
* Copyright 2003 Wasabi Systems, Inc.
@@ -192,7 +192,7 @@
#endif
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.417 2020/07/10 12:25:09 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.418 2020/08/10 05:38:43 skrll Exp $");
#include <sys/param.h>
#include <sys/types.h>
@@ -2837,8 +2837,8 @@
UVMHIST_FUNC(__func__);
UVMHIST_CALLARGS(maphist, "md %#jx pa %#jx", (uintptr_t)md, pa, 0, 0);
+ pmap_acquire_page_lock(md);
struct pv_entry **pvp = &SLIST_FIRST(&md->pvh_list);
- pmap_acquire_page_lock(md);
if (*pvp == NULL) {
#ifdef PMAP_CACHE_VIPT
/*
Home |
Main Index |
Thread Index |
Old Index