提交 924b37f4 编写于 作者: O openharmony_ci 提交者: Gitee

!22 【轻量级 PR】:删除多余释放物理页 Signed-off-by:libing23 <libing23@huawei.com>

Merge pull request !22 from libing23/N/A
......@@ -129,7 +129,6 @@ void MailboxPoolFreePages(LosVmPage *pageArray, size_t order)
for (int i = 0; i < (1UL << order); i++) {
LOS_AtomicDec(&(pageArray[i].refCounts));
LOS_PhysPageFree(&pageArray[i]);
}
LOS_PhysPagesFreeContiguous(pageArray, (1UL << order));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册