commit | a52745d51c3d2bf3d54ba0387990ecc063a0729d | [log] [tgz] |
---|---|---|
author | Roland McGrath <mcgrathr@google.com> | Fri Sep 05 18:11:39 2025 -0700 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Sep 05 18:11:39 2025 -0700 |
tree | 4c3bf658f64ef25bdf125a993276b99219c148b8 | |
parent | bf3af7932cfa7ed87991529bb3cdea9754adfd7f [diff] |
[kernel][riscv64] Use heap allocation for secondary CPU startup Thread This replaces a global array of Thread objects for each potential secondary CPU with normal heap (`new`) allocation on demand. The heap object lives while the new CPU's thread lives, but doesn't take up space before that (or after if it ever exits). This the kernel overall gets closer to all Thread objects being managed as normal C++ heap objects. Change-Id: I4c09a99f4f73e136be64584a1c698149b2a32a5e Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1357975 Fuchsia-Auto-Submit: Roland McGrath <mcgrathr@google.com> Reviewed-by: Travis Geiselbrecht <travisg@google.com> Reviewed-by: Nick Maniscalco <maniscalco@google.com> Commit-Queue: Roland McGrath <mcgrathr@google.com>
Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.
We expect everyone interacting with our project to respect our code of conduct.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.