From: Tejun Heo <tj@kernel.org>
To: Ben Hutchings <bhutchings@solarflare.com>
Cc: Thomas Gleixner <tglx@linutronix.de>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] genirq: don't use flush_scheduled_work() in IRQ affinity notifiers
Date: Fri, 17 Jun 2011 11:45:47 +0200 [thread overview]
Message-ID: <20110617094547.GF2611@htj.dyndns.org> (raw)
In-Reply-To: <1308266886.2925.27.camel@bwh-desktop>
Hello,
On Fri, Jun 17, 2011 at 12:28:06AM +0100, Ben Hutchings wrote:
> This facility is enabled on all configurations with NET && SMP &&
> GENERIC_HARDIRQS, but at the moment is only useful for some net drivers
> (currently only one). So I don't think it should be creating a task at
> boot time. Does alloc_workqueue() still create any tasks immediately?
Nope, no need to worry about it. The only added overhead is the
memory occupied by workqueue itself (which includes small percpu area
but one systemwide one isn't gonna hurt anyone and we've been
decreasing the number of workqueues significantly). It just serves as
a flush domain.
--
tejun
next prev parent reply other threads:[~2011-06-17 9:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-15 14:29 Tejun Heo
2011-06-15 14:30 ` Tejun Heo
2011-06-15 15:25 ` Thomas Gleixner
2011-06-16 23:28 ` Ben Hutchings
2011-06-17 9:45 ` Tejun Heo [this message]
2011-07-14 16:49 ` Ben Hutchings
2011-07-21 5:57 ` 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=20110617094547.GF2611@htj.dyndns.org \
--to=tj@kernel.org \
--cc=bhutchings@solarflare.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.de \
/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
all inboxes | Powered by JetHome®