Re: wcn36xx: Reduce spinlock in indication handler
From: Kalle Valo
Date: Thu Dec 14 2017 - 10:32:44 EST
Bjorn Andersson <bjorn.andersson@xxxxxxxxxx> wrote:
> The purpose of pushing indication on a list and handle these in a
> separate worker is to allow the handlers to sleep. It does therefor not
> make much sense to hold the queue spinlock through the entire indication
> worker function.
>
> By removing items from the queue early we don't need to hold the lock
> throughout the indication worker, allowing the individual handlers to
> sleep.
>
> Signed-off-by: Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>
> Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxxxx>
Patch applied to ath-next branch of ath.git, thanks.
6d1f37323f5b wcn36xx: Reduce spinlock in indication handler
--
https://patchwork.kernel.org/patch/10103469/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches