Page MenuHomeFreeBSD

arm64: Move the initial kernel stack out of the init_pagetables section
ClosedPublic

Authored by markj on Mar 31 2023, 1:49 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 21 2024, 3:00 PM
Unknown Object (File)
Mar 21 2024, 3:00 PM
Unknown Object (File)
Mar 21 2024, 3:00 PM
Unknown Object (File)
Mar 20 2024, 4:01 PM
Unknown Object (File)
Feb 15 2024, 2:33 PM
Unknown Object (File)
Jan 18 2024, 1:18 PM
Unknown Object (File)
Jan 17 2024, 12:51 PM
Unknown Object (File)
Jan 5 2024, 5:46 PM
Subscribers

Details

Summary

init_pagetables is mapped into the segment containing the BSS, but does
not get zeroed by locore. It is used for bootstrap page table pages.

It happens that the bootstrap kernel stack is also placed in that
section, but there's no reason it shouldn't live in the BSS, so move it
there. No functional change intended.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable