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
F111499276: D39367.diff
Tue, Mar 4, 12:43 PM
Unknown Object (File)
Sat, Feb 22, 2:23 PM
Unknown Object (File)
Sat, Feb 22, 1:58 PM
Unknown Object (File)
Sat, Feb 22, 1:52 PM
Unknown Object (File)
Sun, Feb 16, 6:31 PM
Unknown Object (File)
Tue, Feb 4, 7:23 AM
Unknown Object (File)
Feb 1 2025, 1:02 AM
Unknown Object (File)
Jan 26 2025, 6:21 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 50706
Build 47597: arc lint + arc unit