Skip to content

RFC Convert all tasklets to workqueues V2

Steven Rostedt lkml 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 RFC Latest5 patches 17 repliesIn review
  2. v1 RFC6 patches 120 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5Convert the RCU tasklet into a softirqinclude/linux/interrupt.h kernel/rcupdate.c+8 -71 reply
2/5Split out tasklets from softirq.cinclude/linux/interrupt.h include/linux/tasklet.h kernel/Makefile +2 more+325 -3010 replies
3/5Add a tasklet is-scheduled APIinclude/linux/tasklet.h+5 -00 replies
4/5Make DRM use the tasklet is-sched APIdrivers/char/drm/drm_irq.c+1 -10 replies
5/5Convert tasklets to work queuesinclude/linux/tasklet.h init/main.c kernel/Makefile +2 more+164 -31015 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchPaul E. McKenney
1/5A-b
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [RFC PATCH 0/5 v2] Convert all tasklets to workqueues V2
Signature · 28 lines
This is version 2 of the tasklet to workqueue conversion.

Changes from version 1.

- removed config option and simply replace the old implementation
  with the work queue one (recommended by Ingo Molnar).

- replaced clear_bit with test_and_clear_bit to avoid the race of
  executing the tasklet function twice. (thanks to Oleg Nesterov
  for pointing that out).

- Removed most of the pr_debug prints. (Kept one)
  (recommended by Ingo Molnar)

- Removed call to softirq_init.

- Added Author credit to Dipankar Sarma for the RCU tasklet to
  softirq conversion.

- Tested on my Powerbook to add another arch to the mix :-)
  Funny that booting with this change was the first time that
  the bcm43xx didn't get stuck for several seconds on bootup.
  It's also one of the few drivers that use tasklet_disable_nosync.
  So either this shows that the change fixed something, or that
  it broke something (or was just a fluke).


-- Steve