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)
Fri, Sep 20, 4:41 PM
Unknown Object (File)
Fri, Sep 20, 2:02 AM
Unknown Object (File)
Mon, Sep 16, 4:19 PM
Unknown Object (File)
Mon, Sep 16, 12:03 PM
Unknown Object (File)
Mon, Sep 16, 12:15 AM
Unknown Object (File)
Fri, Sep 6, 12:17 AM
Unknown Object (File)
Thu, Sep 5, 11:54 PM
Unknown Object (File)
Sat, Aug 31, 3:02 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