-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
allocator: align arena on 4KiB boundaries
I noticed when moving the BSS around that the page allocator for building page tables (e.g., for mapping the kernel) was inheriting a region that was not 4KiB aligned. The simplest fix was just to constrain the allocator itself to be aligned on a 4K boundary, and there was no reason not to do this. Signed-off-by: Dan Cross <cross@oxidecomputer.com>
- Loading branch information
1 parent
57c8034
commit 2508f23
Showing
3 changed files
with
6 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters