[roll] Roll fuchsia [starnix][epoll] Store the wakeup source in WaitObject

By storing the wakeup source in WaitObject when we
activate a wakeup source, this patch fixes a theoretical
leak (which would prevent devices from entering
low-power state) and improves performances.

The leak comes from entries in the `wakeup_sources` hashmap
being indexed using the `command` of a task.
If the `command` of a task changes (for example with a
call to `prctl(PR_SET_NAME,...`), the entry in the hashmap
won't be removed.

The performance improvement comes from only calling
`deactivate_wakeup_source` when needed, which should save
0.03% of CPU and reduce lock contention.

Original-Original-Bug: 511672601
Original-Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1662674
Original-Original-Revision: cff4e5a28b8300f65adaea5eee4ff76fb5946947
GitOrigin-RevId: 13d5a3d087b53df2d0dae28caf616c006b7b9031
Change-Id: I59133b557a3ff5f6f42e6e59d02fe7fa65190790
Reviewed-on: https://fuchsia-review.googlesource.com/c/integration/+/1692026
Cr-Commit-Position: refs/heads/main@{#196101}
1 file changed
tree: 930b525c83a558224e3dcc539b2559c6778d5f37
  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.