Re: [PATCH v5] locking/rwsem: Make handoff bit handling more consistent

From: Greg KH
Date: Mon Mar 14 2022 - 04:07:30 EST


On Thu, Feb 17, 2022 at 11:41:54PM +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.
>
> Hi Longman,
>
> I'll do some stability testing on our 5.10 phone.

What ever happened with this testing?

thanks,

greg k-h