lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ