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
F159320235: D39367.id.diff
Fri, Jun 12, 8:30 PM
Unknown Object (File)
May 12 2026, 1:12 AM
Unknown Object (File)
Apr 29 2026, 2:13 PM
Unknown Object (File)
Apr 29 2026, 2:10 PM
Unknown Object (File)
Apr 29 2026, 2:07 PM
Unknown Object (File)
Apr 29 2026, 2:05 PM
Unknown Object (File)
Apr 27 2026, 12:27 PM
Unknown Object (File)
Apr 20 2026, 3:10 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