Does memory need to be mapped aligned to page boundaries? #1948
Answered
by
wtdcode
Joshua-Schroijen
asked this question in
Q&A
-
Hello! Is there anything Thanks in advance for the input! |
Beta Was this translation helpful? Give feedback.
Answered by
wtdcode
May 6, 2024
Replies: 1 comment 2 replies
-
This is usually decided by MMU. For example, many MMU design & implementation will assume 4k pages and use the low free bits. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hmmmm, that's quite subtle. Though not thoroughly confirmed, I think the alignment requirement is a QEMU internal implementation trick, which we just inherited. I don't see any straight reason making it possible to support any memory regions alignments but meanwhile there is also no obvious motivation.