aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorCarlos Llamas <[email protected]>2023-12-01 17:21:46 +0000
committerGreg Kroah-Hartman <[email protected]>2023-12-05 09:23:39 +0900
commitc7ac30fad18231a1637d38aa8a97d6b4788ed8ad (patch)
tree64cd11bd18140c87f25f61fada79dcff525a36cb /tools/perf/scripts/python/export-to-sqlite.py
parentea2735ce19c1c6ce0f6011f813a1eea0272c231d (diff)
binder: malloc new_buffer outside of locks
Preallocate new_buffer before acquiring the alloc->mutex and hand it down to binder_alloc_new_buf_locked(). The new buffer will be used in the vast majority of requests (measured at 98.2% in field data). The buffer is discarded otherwise. This change is required in preparation for transitioning alloc->mutex into a spinlock in subsequent commits. 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