[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aBIlrYRE8TvWAKI_@linux.ibm.com>
Date: Wed, 30 Apr 2025 18:59:17 +0530
From: Srikar Dronamraju <srikar@...ux.ibm.com>
To: Shrikanth Hegde <sshegde@...ux.ibm.com>
Cc: maddy@...ux.ibm.com, linuxppc-dev@...ts.ozlabs.org, npiggin@...il.com,
christophe.leroy@...roup.eu, mpe@...erman.id.au, peterz@...radead.org,
fbarrat@...ux.ibm.com, ajd@...ux.ibm.com, mahesh@...ux.ibm.com,
oohall@...il.com, hbathini@...ux.ibm.com, dhowells@...hat.com,
haren@...ux.ibm.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 0/6] powerpc: use lock guards for mutex Set 1
* Shrikanth Hegde <sshegde@...ux.ibm.com> [2025-03-14 17:14:56]:
> This is an effort to make the code simpler by making use of lock
> guards which were introduced in [1], which works by using __cleanup
> attributes. More details in v1 cover letter
>
> This series aims mainly at simplifying code around mutex with goto
> statements. If it makes sense, there are more code simplification which
> can done for preempt, rcu, spinlock as well. Even for mutex, there is
> more which could be done. Even there are usecases for kfree which could
> use the new __free infra.
>
> Please review. Code is compile/boot tested except for powernv.
> Have kept the patches separate for easier bisect. Let me if they should
> be combined into one. Commit message is same for all.
>
> [1]: https://lkml.kernel.org/r/20230612093537.614161713%40infradead.org
> v1: https://lore.kernel.org/all/20250314054544.1998928-1-sshegde@linux.ibm.com/#t
>
> v1->v2:
> - Fix changelog of powernv (Andrew Donnellan)
> - use scoped_guard in couple of places to avoid holding mutex
> un-necessarily (Peter Zijlstra)
>
> Shrikanth Hegde (6):
> powerpc: eeh: use lock guard for mutex
> powerpc: rtas: use lock guard for mutex
> powerpc: fadump: use lock guard for mutex
> powerpc: book3s: vas: use lock guard for mutex
> powerpc: powernv: ocxl: use lock guard for mutex
> powerpc: sysdev: use lock guard for mutex
>
For all the patches in this series
Reviewed-by: Srikar Dronamraju <srikar@...ux.ibm.com>
--
Thanks and Regards
Srikar Dronamraju
Powered by blists - more mailing lists