From: Sebastian Reichel <sre@kernel.org>
To: Valentin Rothberg <Valentin.Rothberg@lip6.fr>
Cc: dbaryshkov@gmail.com, dwmw2@infradead.org,
linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ab8500_fg.c: only request threaded IRQs when necessary
Date: Sat, 7 Mar 2015 20:47:04 +0100 [thread overview]
Message-ID: <20150307194704.GD5233@earth> (raw)
In-Reply-To: <1424104368-11202-1-git-send-email-Valentin.Rothberg@lip6.fr>
[-- Attachment #1: Type: text/plain, Size: 849 bytes --]
Hi Valentin,
On Mon, Feb 16, 2015 at 05:32:48PM +0100, Valentin Rothberg wrote:
> All 5 IRQ handlers of the driver are requested as threaded interrupt
> handlers. However, only 1 handler can block. The remaining 4 handlers
> defer the actual handling to a workqueue. Hence, 4 of 5 IRQ handlers
> have a considerable overhead, since they are executed in a kernel thread
> to schedule another kernel thread (workqueue).
>
> This change splits up the 5 interrupt handlers into top halves (_th) and
> bottom halves (_bh) and resolves the aforementioned overhead by only
> requesting threaded interrupts (i.e., bottom halves) when necessary.
>
> Signed-off-by: Valentin Rothberg <Valentin.Rothberg@lip6.fr>
Thanks, queued:
http://git.infradead.org/battery-2.6.git/commit/02232be7a2bf6e2dd5e4a6c3a81470a09ecc7fdd
-- Sebastian
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
prev parent reply other threads:[~2015-03-07 19:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-16 16:32 [PATCH] ab8500_fg.c: only request threaded IRQs when necessary Valentin Rothberg
2015-03-07 19:47 ` Sebastian Reichel [this message]
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=20150307194704.GD5233@earth \
--to=sre@kernel.org \
--cc=Valentin.Rothberg@lip6.fr \
--cc=dbaryshkov@gmail.com \
--cc=dwmw2@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@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;
as well as URLs for NNTP newsgroup(s).