Date: Thu, 29 Aug 2024 15:21:51 GMT From: Mitchell Horne <mhorne@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 05cf677bb8d8 - main - riscv: remove a redundant MPASS test in _pmap_unwire_ptp() Message-ID: <202408291521.47TFLpul008903@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=05cf677bb8d8b2528fd5bf472c908eabe4e76125 commit 05cf677bb8d8b2528fd5bf472c908eabe4e76125 Author: Wuyang Chung <wy-chung@outlook.com> AuthorDate: 2024-08-02 06:28:46 +0000 Commit: Mitchell Horne <mhorne@FreeBSD.org> CommitDate: 2024-08-29 15:20:28 +0000 riscv: remove a redundant MPASS test in _pmap_unwire_ptp() It is guaranteed by the else if condition. Reviewed by: mhorne Pull Request: https://github.com/freebsd/freebsd-src/pull/1355 --- sys/riscv/riscv/pmap.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/riscv/riscv/pmap.c b/sys/riscv/riscv/pmap.c index 7058eb03cf44..c372e6f7362b 100644 --- a/sys/riscv/riscv/pmap.c +++ b/sys/riscv/riscv/pmap.c @@ -1464,7 +1464,6 @@ _pmap_unwire_ptp(pmap_t pmap, vm_offset_t va, vm_page_t m, struct spglist *free) pd_entry_t *l0; vm_page_t pdpg; - MPASS(pmap_mode != PMAP_MODE_SV39); l0 = pmap_l0(pmap, va); pdpg = PTE_TO_VM_PAGE(pmap_load(l0)); pmap_unwire_ptp(pmap, va, pdpg, free);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202408291521.47TFLpul008903>