From 2072a16b6566580bc65b0c49039757c8cf5076e3 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Wed, 9 Dec 2020 12:11:14 +0000 Subject: Remove redundant TLB flush. All callers of pmap_pte_remove() were already calling ttlb_flush(). ok patrick@ --- sys/arch/arm64/arm64/pmap.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sys/arch/arm64') diff --git a/sys/arch/arm64/arm64/pmap.c b/sys/arch/arm64/arm64/pmap.c index c2adf3c2348..1bdb00ab150 100644 --- a/sys/arch/arm64/arm64/pmap.c +++ b/sys/arch/arm64/arm64/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.68 2020/10/21 21:53:45 deraadt Exp $ */ +/* $OpenBSD: pmap.c,v 1.69 2020/12/09 12:11:13 kettenis Exp $ */ /* * Copyright (c) 2008-2009,2014-2016 Dale Rahn * @@ -1685,8 +1685,6 @@ pmap_pte_remove(struct pte_desc *pted, int remove_pted) vp3->l3[VP_IDX3(pted->pted_va)] = 0; if (remove_pted) vp3->vp[VP_IDX3(pted->pted_va)] = NULL; - - ttlb_flush(pm, pted->pted_va); } /* -- cgit v1.2.3