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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZOEh591udUYSJiGY@qmqm.qmqm.pl>
Date:   Sat, 19 Aug 2023 22:11:19 +0200
From:   Michał Mirosław <mirq-linux@...e.qmqm.pl>
To:     Liam Girdwood <lgirdwood@...il.com>,
        Mark Brown <broonie@...nel.org>
Cc:     Dmitry Osipenko <digetx@...il.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] regulator: simplify nested locking

On Thu, Aug 17, 2023 at 08:52:05PM +0200, Michał Mirosław wrote:
> Simplify regulator locking by removing locking around locking. rdev->ref
> is now accessed only when the lock is taken.
> 
> This patch depends on 12235da8c80a ("kernel/locking: Add context to
> ww_mutex_trylock()").

Please ignore for now: this somehow works with DEBUG_LOCK_ALLOC, but
fails without it. I'll post an extracted simplification part of the code
to have it easier to review.

Best Regards
Michał Mirosław

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ