lkml.org 
[lkml]   [2022]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Lockups due to "locking/rwsem: Make handoff bit handling more consistent"
On Fri, Jun 17, 2022 at 10:29:20AM -0400, Waiman Long wrote:
> > The C file and shell script to run it are attached.
> >
> Thanks for the reproducer and I will try to reproduce it locally.
>
> It is a known issue that I have receive similar report from an Oracle
> engineer. That is the reason I posted commit 1ee326196c66 ("locking/rwsem:
> Always try to wake waiters in out_nolock path") that was merged in v5.19. I
> believe it helps but it may not be able to eliminate all possible race
> conditions. To make rwsem behave more like before commit d257cc8cb8d5
> ("locking/rwsem: Make handoff bit handling more consistent"), I posted a
> follow-up patch
>
> https://lore.kernel.org/lkml/20220427173124.1428050-1-longman@redhat.com/
>
> But it hasn't gotten review yet.
>

FWIW, the patch passed the test case when applied to both 5.18 and
5.19-rc3.

--
Mel Gorman
SUSE Labs

\
 
 \ /
  Last update: 2022-06-20 16:52    [W:0.061 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site