hermit-os / hermit-os/kernel

Zero page is mapped on some architectures

Open
#2,661 0 comments 0 reactions 1 assignee Claimed by @mkroening View on GitHub
Dominant language
Rust
Stars
1.5k
Forks
132
Avg merge
1d 14h
Merged PRs (30d)
39

Description

Due to us mapping in larger granularity in [physicalmem.rs](https://github.com/hermit-os/kernel/blob/492657b6a97862aa05fabee7cc262931223b9a9d/src/mm/physicalmem.rs), we do map the zero page in some cases. We should adapt the heap mapping algorithm to map with multiple page sizes instead.

Then, we can claim low memory again after reserving SMP boot code appropriately.

Related: https://github.com/hermit-os/kernel/pull/2453

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.