diff options
| author | Carlos Llamas <[email protected]> | 2023-12-01 17:21:40 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-12-05 09:23:39 +0900 |
| commit | 377e1684db7a1e23261f3c3ebf76523c0554d512 (patch) | |
| tree | f49b6c132133c8171852ee2686f9fad8065fad13 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 0d35bf3bf2da8d43fd12fea7699dc936999bf96e (diff) | |
binder: do unlocked work in binder_alloc_new_buf()
Extract non-critical sections from binder_alloc_new_buf_locked() that
don't require holding the alloc->mutex. While we are here, consolidate
the checks for size overflow and zero-sized padding into a separate
sanitized_size() helper function.
Also add a few touchups to follow the coding guidelines.
Signed-off-by: Carlos Llamas <[email protected]>
Reviewed-by: Alice Ryhl <[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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions