diff options
author | Waiman Long <longman@redhat.com> | 2023-01-26 03:36:27 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2023-01-26 13:46:46 +0300 |
commit | 1d61659ced6bd8881cf2fb5cbcb28f9541fc7430 (patch) | |
tree | 3903afcd3d5e79c75102f302c5d77bc5ce3b45d6 /arch/x86/mm | |
parent | 3f5245538a1964ae186ab7e1636020a41aa63143 (diff) | |
download | linux-1d61659ced6bd8881cf2fb5cbcb28f9541fc7430.tar.xz |
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 'arch/x86/mm')
0 files changed, 0 insertions, 0 deletions