linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RT 0/3] Linux v5.4.143-rt64-rc2
@ 2021-09-07 15:15 zanussi
  2021-09-07 15:15 ` [PATCH RT 1/3] locking/rwsem-rt: Remove might_sleep() in __up_read() zanussi
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: zanussi @ 2021-09-07 15:15 UTC (permalink / raw)
  To: LKML, linux-rt-users, Steven Rostedt, Thomas Gleixner,
	Carsten Emde, John Kacur, Sebastian Andrzej Siewior,
	Daniel Wagner, Clark Williams, Luis Claudio R. Goncalves,
	Tom Zanussi

From: Tom Zanussi <zanussi@kernel.org>

Dear RT Folks,

This is the RT stable review cycle of patch 5.4.143-rt64-rc2.

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 2021-09-10.

To build 5.4.143-rt64-rc2 directly, the following patches should be applied:

  https://www.kernel.org/pub/linux/kernel/v5.x/linux-5.4.tar.xz

  https://www.kernel.org/pub/linux/kernel/v5.x/patch-5.4.143.xz

  https://www.kernel.org/pub/linux/kernel/projects/rt/5.4/patch-5.4.143-rt64-rc2.patch.xz

You can also build from 5.4.143-rt63 by applying the incremental patch:

  https://www.kernel.org/pub/linux/kernel/projects/rt/5.4/incr/patch-5.4.143-rt63-rt64-rc2.patch.xz


Enjoy,

-- Tom


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

Gregor Beck (1):
  fscache: fix initialisation of cookie hash table raw spinlocks

Tom Zanussi (1):
  Linux 5.4.143-rt64-rc2

 fs/fscache/cookie.c       | 2 +-
 kernel/locking/rwsem-rt.c | 1 -
 localversion-rt           | 2 +-
 3 files changed, 2 insertions(+), 3 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH RT 1/3] locking/rwsem-rt: Remove might_sleep() in __up_read()
  2021-09-07 15:15 [PATCH RT 0/3] Linux v5.4.143-rt64-rc2 zanussi
@ 2021-09-07 15:15 ` zanussi
  2021-09-07 15:15 ` [PATCH RT 2/3] fscache: fix initialisation of cookie hash table raw spinlocks zanussi
  2021-09-07 15:15 ` [PATCH RT 3/3] Linux 5.4.143-rt64-rc2 zanussi
  2 siblings, 0 replies; 4+ messages in thread
From: zanussi @ 2021-09-07 15:15 UTC (permalink / raw)
  To: LKML, linux-rt-users, Steven Rostedt, Thomas Gleixner,
	Carsten Emde, John Kacur, Sebastian Andrzej Siewior,
	Daniel Wagner, Clark Williams, Luis Claudio R. Goncalves,
	Tom Zanussi
  Cc: Andrew Halaney

From: Andrew Halaney <ahalaney@redhat.com>

v5.4.143-rt64-rc2 stable review patch.
If anyone has any objections, please let me know.

-----------


[ Upstream commit b2ed0a4302faf2bb09e97529dd274233c082689b ]

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: Chunyu Hu <chuhu@redhat.com>
Signed-off-by: Andrew Halaney <ahalaney@redhat.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Tom Zanussi <zanussi@kernel.org>
---
 kernel/locking/rwsem-rt.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/kernel/locking/rwsem-rt.c b/kernel/locking/rwsem-rt.c
index 19ea20be3fd7..966946454ced 100644
--- a/kernel/locking/rwsem-rt.c
+++ b/kernel/locking/rwsem-rt.c
@@ -200,7 +200,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
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH RT 2/3] fscache: fix initialisation of cookie hash table raw spinlocks
  2021-09-07 15:15 [PATCH RT 0/3] Linux v5.4.143-rt64-rc2 zanussi
  2021-09-07 15:15 ` [PATCH RT 1/3] locking/rwsem-rt: Remove might_sleep() in __up_read() zanussi
@ 2021-09-07 15:15 ` zanussi
  2021-09-07 15:15 ` [PATCH RT 3/3] Linux 5.4.143-rt64-rc2 zanussi
  2 siblings, 0 replies; 4+ messages in thread
From: zanussi @ 2021-09-07 15:15 UTC (permalink / raw)
  To: LKML, linux-rt-users, Steven Rostedt, Thomas Gleixner,
	Carsten Emde, John Kacur, Sebastian Andrzej Siewior,
	Daniel Wagner, Clark Williams, Luis Claudio R. Goncalves,
	Tom Zanussi
  Cc: Gregor Beck, Gregor Beck

From: Gregor Beck <gbeck@esigma-technology.com>

v5.4.143-rt64-rc2 stable review patch.
If anyone has any objections, please let me know.

-----------


The original patch, 602660600bcd ("fscache: initialize cookie hash
table raw spinlocks"), subtracted 1 from the shift and so still left
some spinlocks uninitialized.  This fixes that.

[zanussi: Added changelog text]

Signed-off-by: Gregor Beck <gregor.beck@gmail.com>
Fixes: 602660600bcd ("fscache: initialize cookie hash table raw spinlocks")
Signed-off-by: Tom Zanussi <zanussi@kernel.org>
---
 fs/fscache/cookie.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/fscache/cookie.c b/fs/fscache/cookie.c
index 5508d92e3f8f..cba2a226897f 100644
--- a/fs/fscache/cookie.c
+++ b/fs/fscache/cookie.c
@@ -963,6 +963,6 @@ void __init fscache_cookie_init(void)
 {
 	int i;
 
-	for (i = 0; i < (1 << fscache_cookie_hash_shift) - 1; i++)
+	for (i = 0; i < ARRAY_SIZE(fscache_cookie_hash); i++)
 		INIT_HLIST_BL_HEAD(&fscache_cookie_hash[i]);
 }
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH RT 3/3] Linux 5.4.143-rt64-rc2
  2021-09-07 15:15 [PATCH RT 0/3] Linux v5.4.143-rt64-rc2 zanussi
  2021-09-07 15:15 ` [PATCH RT 1/3] locking/rwsem-rt: Remove might_sleep() in __up_read() zanussi
  2021-09-07 15:15 ` [PATCH RT 2/3] fscache: fix initialisation of cookie hash table raw spinlocks zanussi
@ 2021-09-07 15:15 ` zanussi
  2 siblings, 0 replies; 4+ messages in thread
From: zanussi @ 2021-09-07 15:15 UTC (permalink / raw)
  To: LKML, linux-rt-users, Steven Rostedt, Thomas Gleixner,
	Carsten Emde, John Kacur, Sebastian Andrzej Siewior,
	Daniel Wagner, Clark Williams, Luis Claudio R. Goncalves,
	Tom Zanussi

From: Tom Zanussi <zanussi@kernel.org>

v5.4.143-rt64-rc2 stable review patch.
If anyone has any objections, please let me know.

-----------


Signed-off-by: Tom Zanussi <zanussi@kernel.org>
---
 localversion-rt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/localversion-rt b/localversion-rt
index b0e8dd7bd707..cc5ec6b9aa59 100644
--- a/localversion-rt
+++ b/localversion-rt
@@ -1 +1 @@
--rt63
+-rt64-rc2
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-09-07 15:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-07 15:15 [PATCH RT 0/3] Linux v5.4.143-rt64-rc2 zanussi
2021-09-07 15:15 ` [PATCH RT 1/3] locking/rwsem-rt: Remove might_sleep() in __up_read() zanussi
2021-09-07 15:15 ` [PATCH RT 2/3] fscache: fix initialisation of cookie hash table raw spinlocks zanussi
2021-09-07 15:15 ` [PATCH RT 3/3] Linux 5.4.143-rt64-rc2 zanussi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).