Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1644557 > unrolled thread

Re: [v3,1/2] mwifiex: initiate card-specific work atomically

Started byKalle Valo <kvalo@codeaurora.org>
First post2017-05-18 15:50 +0200
Last post2017-05-18 15:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [v3,1/2] mwifiex: initiate card-specific work atomically Kalle Valo <kvalo@codeaurora.org> - 2017-05-18 15:50 +0200

#1644557 — Re: [v3,1/2] mwifiex: initiate card-specific work atomically

FromKalle Valo <kvalo@codeaurora.org>
Date2017-05-18 15:50 +0200
SubjectRe: [v3,1/2] mwifiex: initiate card-specific work atomically
Message-ID<tItYu-3le-1@gated-at.bofh.it>
Brian Norris <briannorris@chromium.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@chromium.org>
> Reviewed-by: Dmitry Torokhov <dmitry.torokhov@gmail.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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web