diff options
author | Marco Ballesio <[email protected]> | 2021-03-15 18:16:28 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-03-24 08:26:31 +0100 |
commit | 432ff1e91694e4c55a5bf6bc0574f4c254970232 (patch) | |
tree | 7ff3098e466f0f7684530c514c02b61120a59cc8 /tools/perf/scripts/python/stackcollapse.py | |
parent | 7b7d2261aa8dce949c08d58ed1d02e54a0fbbab5 (diff) |
binder: BINDER_FREEZE ioctl
Frozen tasks can't process binder transactions, so a way is required to
inform transmitting ends of communication failures due to the frozen
state of their receiving counterparts. Additionally, races are possible
between transitions to frozen state and binder transactions enqueued to
a specific process.
Implement BINDER_FREEZE ioctl for user space to inform the binder driver
about the intention to freeze or unfreeze a process. When the ioctl is
called, block the caller until any pending binder transactions toward
the target process are flushed. Return an error to transactions to
processes marked as frozen.
Co-developed-by: Todd Kjos <[email protected]>
Acked-by: Todd Kjos <[email protected]>
Signed-off-by: Marco Ballesio <[email protected]>
Signed-off-by: Todd Kjos <[email protected]>
Signed-off-by: Li Li <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions