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

[Feature] Add support for global page table entries #318

Closed
wipawel opened this issue Nov 4, 2023 · 0 comments · Fixed by #328
Closed

[Feature] Add support for global page table entries #318

wipawel opened this issue Nov 4, 2023 · 0 comments · Fixed by #328
Assignees
Labels
feature New feature or request Priority: 3 Regular feature

Comments

@wipawel
Copy link
Contributor

wipawel commented Nov 4, 2023

Is your feature request related to a problem? Please describe.

Certain memory areas are common for all CPUs and all contexts (e.g. kernel tasks, user tasks, etc): tmp_mfn_map, framebuffer or vga area, kernel image etc. Marking them as global has a performance benefit (although irrelevant for KTF purposes) but also help programmatically find such memory pages for page table deduplication and enables new tests.

Describe the solution you'd like
Add function enabling global entries via CR4.PGE and add a kernel cmdline parameter to control enablement of the feature.

@wipawel wipawel added feature New feature or request Priority: 3 Regular feature labels Nov 4, 2023
@wipawel wipawel self-assigned this Nov 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request Priority: 3 Regular feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant