Re: [PATCH 3/6] powerpc: fadump: use lock guard for mutex

2025-03-14 Thread Shrikanth Hegde
On 3/14/25 13:52, Peter Zijlstra wrote: Thanks Peter for taking a look. On Fri, Mar 14, 2025 at 11:15:41AM +0530, Shrikanth Hegde wrote: use guard(mutex) for scope based resource management of mutex. This would make the code simpler and easier to maintain. More details on lock guards can b

Re: [PATCH 3/6] powerpc: fadump: use lock guard for mutex

2025-03-14 Thread Peter Zijlstra
On Fri, Mar 14, 2025 at 11:15:41AM +0530, Shrikanth Hegde wrote: > use guard(mutex) for scope based resource management of mutex. > This would make the code simpler and easier to maintain. > > More details on lock guards can be found at > https://lore.kernel.org/all/20230612093537.614161...@infrad

[PATCH 3/6] powerpc: fadump: use lock guard for mutex

2025-03-13 Thread Shrikanth Hegde
use guard(mutex) for scope based resource management of mutex. This would make the code simpler and easier to maintain. More details on lock guards can be found at https://lore.kernel.org/all/20230612093537.614161...@infradead.org/T/#u Signed-off-by: Shrikanth Hegde --- arch/powerpc/kernel/fadu