[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170518134009.8E38F60F5F@smtp.codeaurora.org>
Date: Thu, 18 May 2017 13:40:09 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: Brian Norris <briannorris@...omium.org>
Cc: Ganapathi Bhat <gbhat@...vell.com>,
Nishant Sarmukadam <nishants@...vell.com>,
<linux-kernel@...r.kernel.org>,
Dmitry Torokhov <dmitry.torokhov@...il.com>,
linux-wireless@...r.kernel.org,
Brian Norris <briannorris@...omium.org>
Subject: Re: [v3,1/2] mwifiex: initiate card-specific work atomically
Brian Norris <briannorris@...omium.org> wrote:
> The non-atomic test + set is a little awkward here, and it technically
> means we might double-schedule work unnecessarily. AFAICT, this is not
> really a problem, since the extra "work" will be a no-op (the flag(s)
> will be cleared by then), but it's still an anti-pattern.
>
> Rewrite this to use the atomic test_and_set_bit() helper instead.
>
> Signed-off-by: Brian Norris <briannorris@...omium.org>
> Reviewed-by: Dmitry Torokhov <dmitry.torokhov@...il.com>
2 patches applied to wireless-drivers-next.git, thanks.
21f569af9ab3 mwifiex: initiate card-specific work atomically
6d7d579a8243 mwifiex: pcie: add card_reset() support
--
https://patchwork.kernel.org/patch/9706851/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists