Page MenuHomeFreeBSD

arm64, riscv: size boot stacks appropriately
ClosedPublic

Authored by kevans on Sep 7 2022, 2:26 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Mar 28, 11:51 AM
Unknown Object (File)
Dec 20 2023, 8:04 AM
Unknown Object (File)
Dec 12 2023, 12:06 PM
Unknown Object (File)
Sep 14 2023, 12:07 AM
Unknown Object (File)
Aug 29 2023, 1:56 AM
Unknown Object (File)
Aug 7 2023, 1:49 PM
Unknown Object (File)
Aug 3 2023, 2:37 PM
Unknown Object (File)
Aug 3 2023, 2:36 PM
Subscribers

Details

Summary

In 8db2e8fd16c4 ("Remove the secondary_stacks array in arm64 [...]"),
bootstacks was setup to be allocated dynamically. While this is
generally how x86 does it, it inadvertently shrunk each boot stack from
KSTACK_PAGES pages to a single page.

Resize these back up to the expected size using the kstack_pages
tunable, as we'll need larger stacks with upcoming sanitizer work.

Sponsored by: Juniper Networks, Inc.
Sponsored by: Klara, Inc.
Fixes: 8db2e8fd16c4 ("Remove the secondary_stacks array [...]")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 47275
Build 44162: arc lint + arc unit