Skip to content
Commit 1a4bba4b authored by Andrew Halaney's avatar Andrew Halaney Committed by Bruce Ashfield
Browse files

locking/rwsem-rt: Remove might_sleep() in __up_read()



There's no chance of sleeping here, the reader is giving up the
lock and possibly waking up the writer who is waiting on it.

Reported-by: default avatarChunyu Hu <chuhu@redhat.com>
Signed-off-by: default avatarAndrew Halaney <ahalaney@redhat.com>
Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: default avatarBruce Ashfield <bruce.ashfield@gmail.com>
parent ff591a2b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment