diff options
author | 2023-01-25 19:36:27 -0500 | |
---|---|---|
committer | 2023-01-26 11:46:46 +0100 | |
commit | 1d61659ced6bd8881cf2fb5cbcb28f9541fc7430 (patch) | |
tree | 3903afcd3d5e79c75102f302c5d77bc5ce3b45d6 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | locking/rwsem: Disable preemption in all down_read*() and up_read() code paths (diff) | |
download | wireguard-linux-1d61659ced6bd8881cf2fb5cbcb28f9541fc7430.tar.xz wireguard-linux-1d61659ced6bd8881cf2fb5cbcb28f9541fc7430.zip |
locking/rwsem: Disable preemption in all down_write*() and up_write() code paths
The previous patch has disabled preemption in all the down_read() and
up_read() code paths. For symmetry, this patch extends commit:
48dfb5d2560d ("locking/rwsem: Disable preemption while trying for rwsem lock")
... to have preemption disabled in all the down_write() and up_write()
code paths, including downgrade_write().
Suggested-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Waiman Long <longman@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20230126003628.365092-4-longman@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions