Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(kernel/vm): correctly map all pages in Batch::flush #247

Merged
merged 2 commits into from
Feb 2, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update address_space.rs
  • Loading branch information
JonasKruckenberg committed Jan 20, 2025
commit aacea12f101212cf12a5dd06e6dd26bb282605d5
1 change: 0 additions & 1 deletion kernel/src/vm/address_space.rs
Original file line number Diff line number Diff line change
@@ -805,7 +805,6 @@ impl<'a> Batch<'a> {
let mut virt = self.range.start;
for (phys, len) in self.phys.drain(..) {
// Safety: we have checked all the invariants
log::trace!("mapping contiguous {virt} => {phys}");
unsafe {
self.arch_aspace.map_contiguous(
virt,
Loading