Re: [PATCH] powerpc/perf: Use guard(irqsave)() in eight functions

2024-09-20 Thread Markus Elfring
>> Scope-based resource management became supported for some >> programming interfaces by contributions of Peter Zijlstra on 2023-05-26. >> See also the commit 54da6a0924311c7cf5015533991e44fb8eb12773 ("locking: >> Introduce __cleanup() based infrastructure"). >> >> * Thus replace local_irq_save()

Re: [PATCH] powerpc/perf: Use guard(irqsave)() in eight functions

2024-09-19 Thread Michael Ellerman
Markus Elfring writes: > From: Markus Elfring > Date: Mon, 16 Sep 2024 19:25:00 +0200 > > Scope-based resource management became supported for some > programming interfaces by contributions of Peter Zijlstra on 2023-05-26. > See also the commit 54da6a0924311c7cf5015533991e44fb8eb12773 ("locking: