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

mm/kmap: Finalize kmap implementation for RISC-V #192

Merged
merged 1 commit into from
Dec 8, 2023
Merged

Conversation

pussuw
Copy link

@pussuw pussuw commented Dec 8, 2023

Pull kernel map changes from upstream

After this, RISC-V fully supports the kmap interface.

Due to the current design limitations of having only a single L2 table
per process, the kernel kmap area cannot be mapped via any user page
directory, as they do not contain the page tables to address that range.

So a "kernel address environment" is added, which can do the mapping. The
mapping is reflected to every process as only the root page directory (L1)
is copied to users, which means every change to L2 / L3 tables will be
seen by every user.
@pussuw pussuw requested a review from jlaitine December 8, 2023 11:11
@pussuw pussuw merged commit 8e170d2 into master Dec 8, 2023
6 of 8 checks passed
@pussuw pussuw deleted the revmaster branch December 8, 2023 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants