[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <cb03cbe5-0357-144d-0660-3ebc50c0245a@redhat.com>
Date: Wed, 16 Feb 2022 11:30:30 -0500
From: Waiman Long <longman@...hat.com>
To: Greg KH <gregkh@...uxfoundation.org>,
chenguanyou <chenguanyou9338@...il.com>,
Jaegeuk Kim <jaegeuk@...gle.com>
Cc: dave@...olabs.net, hdanton@...a.com, linux-kernel@...r.kernel.org,
mazhenhua@...omi.com, mingo@...hat.com, peterz@...radead.org,
quic_aiquny@...cinc.com, will@...nel.org
Subject: Re: [PATCH v5] locking/rwsem: Make handoff bit handling more
consistent
On 2/15/22 02:41, Greg KH wrote:
> On Tue, Feb 15, 2022 at 12:22:18AM +0800, chenguanyou wrote:
>>>> Hi Waiman, Greg,
>>>> This patch has been merged in branch linux-5.16.y.
>>>> Can we take it to the linux-5.10.y LTS version?
>>> What is "this patch"?
>> commit d257cc8cb8d5355ffc43a96bab94db7b5a324803 ("locking/rwsem: Make handoff bit handling more consistent")
> Have you tested it on the 5.10.y branch to verify it actually works
> properly for you?
>
> If so, please provide a working backport to the stable list, as it does
> not apply cleanly as-is.
>
> thanks,
>
> greg k-h
>
I have attached the 5.10.y backport of commit
d257cc8cb8d5355ffc43a96bab94db7b5a324803 ("locking/rwsem: Make handoff
bit handling more consistent"). I also include a backport of commit
2f06f702925b512a95b95dca3855549c047eef58 ("locking/rwsem: Prevent
potential lock starvation") which I think may help Jaegeuk. I had run
some sanity tests and the backported patches work fine. However, I don't
have access to their testing environments to verify if they can fix the
problems seem by Chen or Jaegeuk. So please test these patches to see if
they can address your problems.
Cheers,
Longman
View attachment "0001-locking-rwsem-Prevent-potential-lock-starvation.patch" of type "text/x-patch" (3133 bytes)
View attachment "0002-locking-rwsem-Make-handoff-bit-handling-more-consist.patch" of type "text/x-patch" (12487 bytes)
Powered by blists - more mailing lists