diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2025-06-26 10:30:54 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-07-16 14:11:20 +0200 |
commit | 01afddcac630b8c6a5f44ac5d0e508ca440e44a2 (patch) | |
tree | d442851c1555dc6b20f2197a39e77626219f0f66 /tools/perf/scripts/python/stackcollapse.py | |
parent | 1da2dca2fb3ab241da86890312f2bfb9c1d0d6c3 (diff) |
binder: use guards for plain mutex- and spinlock-protected sections
Use 'guard(mutex)' and 'guard(spinlock)' for plain (i.e. non-scoped)
mutex- and spinlock-protected sections, respectively, thus making
locking a bit simpler. Briefly tested with 'stress-ng --binderfs'.
Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Acked-by: Carlos Llamas <cmllamas@google.com>
Link: https://lore.kernel.org/r/20250626073054.7706-2-dmantipov@yandex.ru
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions