[roll] Roll fuchsia [starnix][mm] Fix FutexWaiters memory leak and optimize cleanup

This CL fixes memory leaks in FutexTable where waiters were not removed
on timeout, interruption, or error (e.g. ESRCH). It also optimizes cleanup
performance.

Fixed leaks:
- FutexTable::wait/wait_boot cleanup on timeout/EINTR.
- lock_pi cleanup on timeout and ESRCH.
- Empty HashMap entries in pop_rt_mutex_waiter.
- External waiter cleanup on channel close.

Optimizations:
- O(1) cleanup for common timeouts (checking original address).
- O(N) fallback for requeued waiters.
- Zero overhead on success path.

Original-Bug: 475774411
Test: starnix_core_tests (mm::futex_table::tests), starnix_syscalls_cpp_tests (futex_test)
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1515216
Original-Revision: b42d420439d661cf736bbccb4af6fd9098dbf9d5
GitOrigin-RevId: 54d65240503c8ae13993a286cd976df429c6bb5a
Change-Id: I219e954e87208f7516b3ac3196ce44231657de8f
1 file changed
tree: 2108f24c0f37e723697727317edd5b5d2887cd8c
  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.