diff options
author | 2023-11-08 13:53:22 -0800 | |
---|---|---|
committer | 2024-02-28 13:10:29 +0100 | |
commit | f3e3620f1a97fcd02a5f3606fa63888dbcffd82c (patch) | |
tree | d6bc4500d2847de87746c9926448c9e0ac3dbb8b /mm/page_io.c | |
parent | locking/rwsem: Make DEBUG_RWSEMS and PREEMPT_RT mutually exclusive (diff) | |
download | linux-f3e3620f1a97fcd02a5f3606fa63888dbcffd82c.tar.gz linux-f3e3620f1a97fcd02a5f3606fa63888dbcffd82c.tar.bz2 linux-f3e3620f1a97fcd02a5f3606fa63888dbcffd82c.zip |
locking/percpu-rwsem: Trigger contention tracepoints only if contended
We mistakenly always fire lock contention tracepoints in the writer path,
while it should be conditional on the trylock result.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Waiman Long <longman@redhat.com>
Link: https://lore.kernel.org/r/20231108215322.2845536-1-namhyung@kernel.org
Diffstat (limited to 'mm/page_io.c')
0 files changed, 0 insertions, 0 deletions