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)
Mon, Oct 13, 4:45 AM
Unknown Object (File)
Mon, Oct 13, 4:45 AM
Unknown Object (File)
Mon, Oct 13, 4:45 AM
Unknown Object (File)
Sun, Oct 12, 4:53 PM
Unknown Object (File)
Tue, Oct 7, 9:20 PM
Unknown Object (File)
Thu, Sep 18, 6:59 AM
Unknown Object (File)
Sep 10 2025, 3:51 PM
Unknown Object (File)
Sep 9 2025, 4:07 AM
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