aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDavidlohr Bueso <dave@stgolabs.net>2019-10-30 07:49:16 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-01 10:50:37 +0100
commit3ae82f449cea00de5cd894feb8e9154b2da99b4e (patch)
tree523e18d27b29d5cba46232134b034c7af156a3ff /tools/perf/scripts/python
parentMerge tag 'iio-for-5.5b' of https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-next (diff)
downloadlinux-dev-3ae82f449cea00de5cd894feb8e9154b2da99b4e.tar.xz
linux-dev-3ae82f449cea00de5cd894feb8e9154b2da99b4e.zip
drivers/staging/exfat: Replace binary semaphores for mutexes
At a slight footprint cost (24 vs 32 bytes), mutexes are more optimal than semaphores; it's also a nicer interface for mutual exclusion, which is why they are encouraged over binary semaphores, when possible. For both v_sem and z_sem, their semantics imply traditional lock ownership; that is, the lock owner is the same for both lock/unlock operations. Therefore it is safe to convert. Signed-off-by: Davidlohr Bueso <dave@stgolabs.net> Acked-by: Valdis Kletnieks <valdis.kletnieks@vt.edu> Link: https://lore.kernel.org/r/20191030144916.10802-1-dave@stgolabs.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions