diff options
Diffstat (limited to 'debian/patches-rt/0297-locking-rwsem-rt-Remove-might_sleep-in-__up_read.patch')
-rw-r--r-- | debian/patches-rt/0297-locking-rwsem-rt-Remove-might_sleep-in-__up_read.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/debian/patches-rt/0297-locking-rwsem-rt-Remove-might_sleep-in-__up_read.patch b/debian/patches-rt/0297-locking-rwsem-rt-Remove-might_sleep-in-__up_read.patch index 91a9ede63..a66f1d2fb 100644 --- a/debian/patches-rt/0297-locking-rwsem-rt-Remove-might_sleep-in-__up_read.patch +++ b/debian/patches-rt/0297-locking-rwsem-rt-Remove-might_sleep-in-__up_read.patch @@ -1,8 +1,8 @@ -From 7131b777e7276a566838fdfb4a0b2ddc44ad2eca Mon Sep 17 00:00:00 2001 +From fa02c4e204fc73b01612c59d6ad3fcb0b9ab80a8 Mon Sep 17 00:00:00 2001 From: Andrew Halaney <ahalaney@redhat.com> Date: Tue, 6 Apr 2021 17:19:52 -0500 Subject: [PATCH 297/323] locking/rwsem-rt: Remove might_sleep() in __up_read() -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.10/older/patches-5.10.204-rt100.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.10/older/patches-5.10.215-rt107.tar.xz 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. @@ -15,7 +15,7 @@ Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org> 1 file changed, 1 deletion(-) diff --git a/kernel/locking/rwsem-rt.c b/kernel/locking/rwsem-rt.c -index 274172d5bb3a..b61edc4dcb73 100644 +index 274172d5bb3a5..b61edc4dcb739 100644 --- a/kernel/locking/rwsem-rt.c +++ b/kernel/locking/rwsem-rt.c @@ -198,7 +198,6 @@ void __up_read(struct rw_semaphore *sem) @@ -27,5 +27,5 @@ index 274172d5bb3a..b61edc4dcb73 100644 /* * Wake the writer, i.e. the rtmutex owner. It might release the -- -2.43.0 +2.44.0 |