Skip to content

RFC wifi locking simplification

Johannes Berg linux-wireless lkml 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 RFC Latest3 patches 2 repliesIn review
  2. v1 RFC4 patches 5 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3workqueue: support pausing ordered workqueuesinclude/linux/workqueue.h kernel/workqueue.c+55 -31 reply
2/3wifi: cfg80211: add a workqueue with special semanticsinclude/net/cfg80211.h net/wireless/core.c net/wireless/core.h +1 more+245 -161 reply
3/3wifi: cfg80211: move scan done work to cfg80211 workqueuenet/wireless/core.c net/wireless/core.h net/wireless/scan.c+7 -140 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [RFC PATCH v2 0/3] wifi locking simplification

The rationale etc. didn't change in v2, so see
https://lore.kernel.org/r/[email protected]

In v2 I dropped the workqueue locking patch and consequently made new wiphy_work and wiphy_delayed_work things.

I kept the pause/resume for the workqueue because not that I had it, it seemed simpler than keeping track of "should it be paused" in a separate bool variable to not queue the work when it shouldn't be ...

Still just serves to illustrate things, I didn't really test it.

johannes