Skip to contentSkip to conversation

Linux 5.10.59-rt52-rc1

PATCH New Steven Rostedt 1 participant 3 messages Aug 20, 2021 Locking primitives

lore
Share & tools
lore
#0 lore raw

cover Linux 5.10.59-rt52-rc1

Dear RT Folks,

This is the RT stable review cycle of patch 5.10.59-rt52-rc1.

Please scream at me if I messed something up. Please test the patches too.

The -rc release will be uploaded to kernel.org and will be deleted when the final release is out. This is just a review release (or release candidate).

The pre-releases will not be pushed to the git repository, only the final release is.

If all goes well, this patch will be converted to the next main release on 8/24/2021.

Enjoy,

-- Steve

To build 5.10.59-rt52-rc1 directly, the following patches should be applied:

http://www.kernel.org/pub/linux/kernel/v5.x/linux-5.10.tar.xz

http://www.kernel.org/pub/linux/kernel/v5.x/patch-5.10.59.xz

http://www.kernel.org/pub/linux/kernel/projects/rt/5.10/patch-5.10.59-rt52-rc1.patch.xz

You can also build from 5.10.59-rt51 by applying the incremental patch:

http://www.kernel.org/pub/linux/kernel/projects/rt/5.10/incr/patch-5.10.59-rt51-rt52-rc1.patch.xz

Changes from 5.10.59-rt51:

---

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

Steven Rostedt (VMware) (1):

      Linux 5.10.59-rt52-rc1

----

 kernel/locking/rwsem-rt.c | 1 -
 localversion-rt           | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)
#1 lore raw

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

5.10.59-rt52-rc1 stable review patch.
If anyone has any objections, please let me know.

------------------

From: Andrew Halaney <[email protected]>

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.

---
 kernel/locking/rwsem-rt.c | 1 -
 1 file changed, 1 deletion(-)
kernel/locking/rwsem-rt.c +0 -1
index 274172d5bb3a..b61edc4dcb73 100644
@@ -198,7 +198,6 @@ void __up_read(struct rw_semaphore *sem)
 	if (!atomic_dec_and_test(&sem->readers))
 		return;
 
-	might_sleep();
 	raw_spin_lock_irq(&m->wait_lock);
 	/*
 	 * Wake the writer, i.e. the rtmutex owner. It might release the
Signature · 1 line
2.30.2
#2 lore raw

PATCH 2/2 Linux 5.10.59-rt52-rc1

In reply to Steven Rostedt

5.10.59-rt52-rc1 stable review patch.
If anyone has any objections, please let me know.

------------------

From: "Steven Rostedt (VMware)" <[email protected]>

---
 localversion-rt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
localversion-rt +1 -1
index 75493460c41f..d42746076d9b 100644
@@ -1 +1 @@
--rt51
+-rt52-rc1
Signature · 1 line
2.30.2