[roll] Roll fuchsia [starnix][range_map] Count entries in range_map

Maintain an explicit O(1) entry count in `RangeMap` (`RangeMap::len` and
`RangeMap::is_empty`) updated on leaf insertions and removals, and
update `MemoryManager::get_mapping_count` to query `mappings.len()`
instead of walking the B-tree iterator. We will need this to enforce the
per-process limit on the number of memory mappings (`vm.max_map_count`,
see `proc(5)`). No userspace-observable behavior changes in this CL.

Test: starnix_range_map_test, starnix_core_tests
Original-Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1728549
Risk: Fuchsia CL Risk (Advisory) <groupagent-fuchsia-risk@google.com>
Original-Original-Revision: 8495dede10270ae3595642175f27d1bb0f3f9442
GitOrigin-RevId: b93179058b9a5544253cb1c586c8d05581f1de96
Change-Id: I5e4329fef834ed14e75510ad0d154ad57fc54c52
Reviewed-on: https://fuchsia-review.googlesource.com/c/integration/+/1988000
Lint: android-build-ayeaye@system.gserviceaccount.com <android-build-ayeaye@system.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#215643}
1 file changed
tree: a42cfaad6d5c299eeb15de14dd47363935d5a2a6
  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.