diff options
author | 2020-12-09 12:11:13 +0000 | |
---|---|---|
committer | 2020-12-09 12:11:13 +0000 | |
commit | c0a646d5b79e2cf34f7149825b113b97aa7f692a (patch) | |
tree | b922ce55da7528d383a0c86ba90e67c23f829e89 | |
parent | Lets claim RFC6493 support. (diff) | |
download | wireguard-openbsd-c0a646d5b79e2cf34f7149825b113b97aa7f692a.tar.xz wireguard-openbsd-c0a646d5b79e2cf34f7149825b113b97aa7f692a.zip |
Remove redundant TLB flush. All callers of pmap_pte_remove() were already
calling ttlb_flush().
ok patrick@
-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); } /* |