mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: linux-kernel@vger.kernel.org, akpm@linux-foundation.org
Subject: [PATCHSET] workqueue: another assorted flush_scheduled_work() removals
Date: Sun, 12 Dec 2010 17:48:13 +0100	[thread overview]
Message-ID: <1292172499-21633-1-git-send-email-tj@kernel.org> (raw)

Hello,

This is another set of patches to remove flush_scheduled_work() users.

 0001-init-don-t-call-flush_scheduled_work-from-do_initcal.patch
 0002-ioc4-use-static-work_struct-for-ioc4_load_modules.patch
 0003-media-video-explicitly-flush-request_module-work.patch
 0004-media-video-don-t-use-flush_scheduled_work.patch
 0005-speedtch-don-t-abuse-struct-delayed_work.patch
 0006-usb-don-t-use-flush_scheduled_work.patch

Andrew, implementing proper work function in init text test requires
tracking an additional state for each worker.  I don't think it'll be
worth the effort or complexity as removal of init sections itself will
make the bugs, if exists, quite visible anyway, so I just updated
patch description of 0001.  What do you think?

0002 updates the ioc4 driver to use static work_struct and removes
flush_scheduled_work() call in the process.

0003-0004 convert the video drivers and 0005-0006 usb.

These patches are available in the following git tree.

 git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq.git net-dev-kill-flush_scheduled_work

Note that the branch is on top of the previous set of
flush_scheduled_work() removal patches; however, they're independent
and this series cleanly applies on top of 2.6.37-rc5
(6313e3c21743cc88bb5bd8aa72948ee1e83937b6).

diffstat follows.  Thanks.

 drivers/media/video/bt8xx/bttv-driver.c       |    9 ++++++++
 drivers/media/video/bt8xx/bttv-input.c        |    5 ----
 drivers/media/video/cx18/cx18-driver.c        |    8 +++++++
 drivers/media/video/cx231xx/cx231xx-cards.c   |    8 +++++++
 drivers/media/video/cx23885/cx23885-input.c   |    2 -
 drivers/media/video/cx88/cx88-mpeg.c          |    8 +++++++
 drivers/media/video/em28xx/em28xx-cards.c     |    8 +++++++
 drivers/media/video/omap24xxcam.c             |    6 ++---
 drivers/media/video/saa7134/saa7134-core.c    |   11 ++++++++-
 drivers/media/video/saa7134/saa7134-empress.c |    2 -
 drivers/misc/ioc4.c                           |   29 ++++++++------------------
 drivers/usb/atm/speedtch.c                    |   27 ++++++++++++------------
 drivers/usb/gadget/u_ether.c                  |    4 ---
 drivers/usb/host/ohci-hcd.c                   |    3 +-
 drivers/usb/otg/isp1301_omap.c                |    2 -
 drivers/usb/serial/oti6858.c                  |    5 +---
 drivers/video/fb_defio.c                      |    5 +---
 init/main.c                                   |    3 --
 18 files changed, 86 insertions(+), 59 deletions(-)

--
tejun

             reply	other threads:[~2010-12-12 16:48 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-12 16:48 Tejun Heo [this message]
2010-12-12 16:48 ` [PATCH 1/6] init: don't call flush_scheduled_work() from do_initcalls() Tejun Heo
2010-12-12 16:48 ` [PATCH 2/6] ioc4: use static work_struct for ioc4_load_modules() Tejun Heo
2010-12-12 16:48 ` [PATCH 3/6] media/video: explicitly flush request_module work Tejun Heo
2010-12-12 16:48 ` [PATCH 4/6] media/video: don't use flush_scheduled_work() Tejun Heo
2010-12-12 16:48 ` [PATCH 5/6] speedtch: don't abuse struct delayed_work Tejun Heo
2010-12-16 21:30   ` Greg KH
2010-12-17 11:05     ` Tejun Heo
2010-12-12 16:48 ` [PATCH 6/6] usb: don't use flush_scheduled_work() Tejun Heo
2010-12-17 13:51 ` speedtch: don't abuse struct delayed_work Nicolas Kaiser
2010-12-18 11:58   ` Nicolas Kaiser
2010-12-18 16:32   ` [PATCH UPDATED 5/6] " Tejun Heo
2010-12-18 17:59     ` Nicolas Kaiser
2010-12-24 15:14 ` [PATCHSET] workqueue: another assorted flush_scheduled_work() removals Tejun Heo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1292172499-21633-1-git-send-email-tj@kernel.org \
    --to=tj@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome