aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/android/binder_alloc_selftest.c
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2025-06-26 10:30:54 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-07-16 14:11:20 +0200
commit01afddcac630b8c6a5f44ac5d0e508ca440e44a2 (patch)
treed442851c1555dc6b20f2197a39e77626219f0f66 /drivers/android/binder_alloc_selftest.c
parentbinder: use kstrdup() in binderfs_binder_device_create() (diff)
downloadlinux-01afddcac630b8c6a5f44ac5d0e508ca440e44a2.tar.gz
linux-01afddcac630b8c6a5f44ac5d0e508ca440e44a2.zip
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 'drivers/android/binder_alloc_selftest.c')
0 files changed, 0 insertions, 0 deletions