[roll] Roll fuchsia [kernel][vm] Use CriticalMutex for aspace locks.

Mitigate system wide performance impact of threads being preempted while
holding arch and vm aspace locks by migrating to CriticalMutex. These
locks tend to be widely shared, due to shared memory usage patterns and
the common kernel aspace when creating kernel thread stacks. Preemption
while holding widely shared, frequently acquired locks can result in
cascade delays, particularly when the system is heavily loaded.

Prior to this change, CriticalMutex has been updated to use the time
limited "timeslice extension" mechanism, instead of straight preempt
disable, to reduce the negative impact of long critical sections.

Make an additional optimization to the harvest loop to pause harvesting
while there are pending access faults for the same aspace, mitigating an
issue where the harvest loop succeeds in re-acquiring the aspace lock
frequently, even when there are contenders in the mutex spin phase. This
change is observed to eliminate access faults blocking while the harvest
loop is active on the same aspace.

Original-Bug: 71348
Original-Bug: b/234776870
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/504529
Original-Revision: 50bc9593e8ae054e61a46091e84510b642b9e40b
GitOrigin-RevId: 12052ffee24e0c0588fdbf1c2a4ae1edd6abc59a
Change-Id: I2086d518bfcd20084ba06796d5f45c59295fa1cf
1 file changed
tree: 2b540ed343c5f76786f918c82ef0b7bb03025b2f
  1. infra/
  2. third_party/
  3. cts
  4. firmware
  5. flower
  6. jiri.lock
  7. minimal
  8. prebuilts
  9. README.md
  10. stem
  11. test_durations
  12. toolchain
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.