Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kernel/mm: Reduce stack footprint of page-table freeing
Turns out that the way the iterators are implemented in RawPageTablePart::free_lvl*() the compiler makes copies of entire pages on the stack, which overflows the 32 KiB stack pretty quickly. Iterate over references only and significantly reduce stack usage of the page-table freeing code. Signed-off-by: Joerg Roedel <[email protected]>
- Loading branch information