[roll] Roll fuchsia [starnix] Cache total memory mapping usage

Cache the total usage length inside the `Mappings` struct to optimize
`get_total_usage` from O(N) to O(1). To keep the cached sum
synchronized, direct mutable access to the map via `DerefMut` is
removed. Mutation is now routed through new helper methods (`insert`,
`remove`, `append_non_overlapping`) that keep the cached sum in sync.

Improved gvisor_benchmarks: MapTouch*, MapUnmap*, ThreadStart*
Original-Original-Bug: 484414845
Test: starnix_core_tests
Original-Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1614014
Original-Original-Revision: 29c3dd10f1e795758381d714484aba6331fb0836
GitOrigin-RevId: 3af5cf31e4c796d77a97d0da0730a2a0c0b66941
Change-Id: Ifacb0b181f6c61e0adcfd1dbeb5245be1e5b952e
1 file changed
tree: d1d248a6394621de4879d52b4dcb34fe74dbfa2e
  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.