public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* Request for backport fd6bc19d7676 to 4.14 and 4.19 branch
@ 2021-08-16 19:19 David Chen
  2021-08-16 19:30 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 9+ messages in thread
From: David Chen @ 2021-08-16 19:19 UTC (permalink / raw)
  To: stable@vger.kernel.org
  Cc: Greg Kroah-Hartman, Paul E. McKenney, neeraju@codeaurora.org

Hi Greg,

We recently hit a hung task timeout issue in synchronize_rcu_expedited on 4.14 branch.
The issue seems to be identical to the one described in `fd6bc19d7676 rcu: Fix missed wakeup of exp_wq waiters`
Can we backport it to 4.14 and 4.19 branch?
The patch doesn't apply cleanly, but it should be trivial to resolve, just do this

-		wake_up_all(&rnp->exp_wq[rcu_seq_ctr(rsp->expedited_sequence) & 0x3]);
+		wake_up_all(&rnp->exp_wq[rcu_seq_ctr(s) & 0x3]);

I don't know if we should do it for 4.9, because the handling of sequence number is a bit different.

Thanks,
David

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

end of thread, other threads:[~2021-09-23  7:52 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-16 19:19 Request for backport fd6bc19d7676 to 4.14 and 4.19 branch David Chen
2021-08-16 19:30 ` Greg Kroah-Hartman
2021-08-16 22:02   ` David Chen
2021-08-17  6:16     ` Greg Kroah-Hartman
2021-08-17 18:47       ` David Chen
2021-08-18  6:55         ` Greg Kroah-Hartman
2021-08-19  0:28           ` David Chen
2021-09-23  7:52             ` Greg Kroah-Hartman
2021-08-18  7:19     ` Neeraj Upadhyay

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox