Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm/pmap Always call pmap_segtab_activate in pmap_activa...
details: https://anonhg.NetBSD.org/src/rev/aa60edd60477
branches: trunk
changeset: 936083:aa60edd60477
user: skrll <skrll%NetBSD.org@localhost>
date: Sat Jul 18 16:12:09 2020 +0000
description:
Always call pmap_segtab_activate in pmap_activate. pmap_segtab_activate
does the right thing if called with non-curlwp.
diffstat:
sys/uvm/pmap/pmap.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diffs (29 lines):
diff -r d89d87c6b5cd -r aa60edd60477 sys/uvm/pmap/pmap.c
--- a/sys/uvm/pmap/pmap.c Sat Jul 18 16:07:15 2020 +0000
+++ b/sys/uvm/pmap/pmap.c Sat Jul 18 16:12:09 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.49 2020/04/12 15:36:18 skrll Exp $ */
+/* $NetBSD: pmap.c,v 1.50 2020/07/18 16:12:09 skrll Exp $ */
/*-
* Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.49 2020/04/12 15:36:18 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.50 2020/07/18 16:12:09 skrll Exp $");
/*
* Manages physical address maps.
@@ -723,9 +723,7 @@
kpreempt_disable();
pmap_tlb_miss_lock_enter();
pmap_tlb_asid_acquire(pmap, l);
- if (l == curlwp) {
- pmap_segtab_activate(pmap, l);
- }
+ pmap_segtab_activate(pmap, l);
pmap_tlb_miss_lock_exit();
kpreempt_enable();
Home |
Main Index |
Thread Index |
Old Index