diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2020-12-09 12:11:14 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2020-12-09 12:11:14 +0000 |
commit | 2072a16b6566580bc65b0c49039757c8cf5076e3 (patch) | |
tree | ad6a794ef0993db5f0bb4c2c7b1e3b025203daf8 /sys/arch/arm64 | |
parent | a99985909f403c694e0e67ccc93f274b5971f9fb (diff) |
Remove redundant TLB flush. All callers of pmap_pte_remove() were already
calling ttlb_flush().
ok patrick@
Diffstat (limited to 'sys/arch/arm64')
-rw-r--r-- | sys/arch/arm64/arm64/pmap.c | 4 |
1 files changed, 1 insertions, 3 deletions
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 <drahn@dalerahn.com> * @@ -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); } /* |