[mm]修复unmap内存时遗漏刷新地址转换表的问题,避免dcache(PIPT)出错

This commit is contained in:
heyuanjie87 2025-03-10 18:16:07 +08:00 committed by Rbb666
parent db359af5c0
commit c16d14e70b
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ static void _pgmgr_pop_all(rt_varea_t varea)
char *page_va = rt_kmem_p2v(page_pa);
if (page_pa != ARCH_MAP_FAILED && page_va)
{
rt_hw_mmu_unmap(aspace, iter, ARCH_PAGE_SIZE);
rt_varea_unmap_page(varea, iter);
rt_pages_free(page_va, 0);
}
}