Files
Alice Ryhl 5a41bb32dd ANDROID: rust_binder: rework process cleanup
Rust Binder cleanup is reworked to match the order in which C Binder
cleans up things. A few notes on the changes:

* Actually dropping thread objects is done at the very end because they
  contain a call to synchronize_rcu() which is slow. This ensures that
  death notifications are sent without waiting for those calls. This
  avoids failures in rustBinderTest. (The test is already flaky, but
  this extra sleep makes the flake much more likely to happen.)

* We now free refs on remote nodes in release explicitly. Previously
  that only happened implicitly when everything keeping the ref alive
  has been dropped. To avoid spurious warnings from this, the warning
  print about dropping a ref that doesn't exist is only printed if the
  process is alive.

Bug: 431914626
Change-Id: I3d1f4f15ffac7587d1bb0113a41330b2aea69b3d
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
2025-08-11 10:10:26 -07:00
..
2025-03-13 13:01:49 +01:00
2023-05-31 17:35:03 +02:00
2025-07-02 13:08:23 +00:00
2025-06-05 11:52:13 +00:00
2025-04-17 03:02:04 -07:00
2025-06-05 11:52:13 +00:00
2025-03-13 13:01:49 +01:00
2025-04-17 03:02:04 -07:00