Skip to content

Commit

Permalink
Fixed formatting for page table metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
zmckevitt committed Dec 6, 2023
1 parent 9dbf884 commit cb51393
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion kernel/src/arch/x86_64/vspace/page_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ impl Clone for PageTable {
let mut p_allocs = 0;
// Do a DFS and find all mapped entries and replicate them in the new `pt`
for pml4_idx in 0..PAGE_SIZE_ENTRIES {

let reached_kernel = pml4_idx >= pml4_index(KERNEL_BASE.into());
if self.pml4[pml4_idx].is_present() {
cloned_pt.pml4[pml4_idx] = new_pdpt();
Expand Down

0 comments on commit cb51393

Please sign in to comment.