mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-24 18:03:25 +00:00
Implement remote TLB flush on VmSpace
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
326ec09169
commit
d9eccdcfbe
@ -162,7 +162,11 @@ impl PageTable<KernelMode> {
|
||||
for i in start..end {
|
||||
if !root_node.read_pte(i).is_present() {
|
||||
let node = PageTableNode::alloc(PagingConsts::NR_LEVELS - 1);
|
||||
root_node.set_child_pt(i, node.into_raw(), i < NR_PTES_PER_NODE * 3 / 4);
|
||||
let _ = root_node.replace_child(
|
||||
i,
|
||||
Child::PageTable(node.into_raw()),
|
||||
i < NR_PTES_PER_NODE * 3 / 4,
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user