[roll] Roll fuchsia [kernel][percpu] Add optimized percpu::GetCurrent

Add a percpu* field to the low-level arch-specific percpu structs so
we can get the current CPU's percpu struct without having to perform
an array lookup using the current CPU number.

Add arch_get_percpu and arch_setup_percpu.

Add static method percpu::GetCurrent() that uses arch_get_percpu.

arch_get_percpu will allow a future CPU to break a dependency cycle
and inline parts of lockup_detector.

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/501179
Original-Revision: ffa23e8f298ac85cc39109961af1e1242314b2ad
GitOrigin-RevId: a608a25d41698b66ed3f0af7339f4607873e8fe2
Change-Id: I28d4aaf4e6034204e232de6be097d7a0e6edb4eb
1 file changed
tree: 2ed03652aae15fc516c771baa47da62857e9c504
  1. garnet/
  2. infra/
  3. peridot/
  4. third_party/
  5. topaz/
  6. zircon/
  7. firmware
  8. flower
  9. jiri.lock
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. 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 via the IRC channel #fuchsia on Freenode.

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.