[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <c8782122bc7640a58d6b06f0a845f223@euamsexm01a.eu.qualcomm.com>
Date: Thu, 14 Dec 2017 16:32:23 +0100
From: Kalle Valo <kvalo@....qualcomm.com>
To: Bjorn Andersson <bjorn.andersson@...aro.org>
CC: Eugene Krasnikov <k.eugene.e@...il.com>,
Kalle Valo <kvalo@...eaurora.org>,
Loic Poulain <loic.poulain@...aro.org>,
<wcn36xx@...ts.infradead.org>, <linux-wireless@...r.kernel.org>,
<netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: wcn36xx: Reduce spinlock in indication handler
Bjorn Andersson <bjorn.andersson@...aro.org> 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@...aro.org>
> Signed-off-by: Kalle Valo <kvalo@....qualcomm.com>
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
Powered by blists - more mailing lists