Does memory need to be mapped aligned to page boundaries? #1948
-
Hello! Is there anything Thanks in advance for the input! |
Beta Was this translation helpful? Give feedback.
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.
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.