[roll] Roll fuchsia [starnix] Store ExtendedPstate in heap instead of within ThreadState

AArch32 threads have less vector/floating point thread state to track
compared to 64 bit threads. In order to optimize for this, we need to
dynamically allocate storage for this state based on the current target
architecture. This moves storage for this state out of the ThreaadState
structure into a Box behind an enum. On aarch64, this enum will have a
32 bit variant. RISC-V and x86_64 will continue to have only a 64 bit
representation.

This will reduce stack use on ARM by 528 bytes per task and increase
heap use by the same amount. Metrics which are very sensitive to heap or
stack use may notice a change, overall memory use should be unchanged.

Original-Bug: 407084069
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1512776
Original-Revision: 8cc5c32362e2be0e5c117e081bb6c360dea1adef
GitOrigin-RevId: 46a6600042832ae15730bcd053f1751c9ceadd58
Change-Id: Id8ca80ebe9b8fc947ee925d4b03eafdcb7d198c7
1 file changed
tree: 5a5886d7b1b9d1861c12827360bb17e811306497
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cobalt
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance in one of the communication channels documented at get involved.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.