Re: [PATCH v3 3/3] soc: qcom: apr: Narrow critical section in error path of gpr_alloc_port()
From: Abel Vesa
Date: Wed Nov 04 2026 - 08:22:12 EST
On 26-11-03 15:56:38, Krzysztof Kozlowski wrote:
> Error path of gpr_alloc_port() can unlocok the spinlock earlier, before
> printing error message and freeing the local memory, because the
> allocated memory is not published outside of this context. Shorter
> critical section makes system more responsive, although gain won't be
> likely because it is only an error path.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>
Reviewed-by: Abel Vesa <abel.vesa@xxxxxxxxxxxxxxxx>