[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
This repository contains Fuchsia's Global Integration manifest files.
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.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party.