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