[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150307194704.GD5233@earth>
Date: Sat, 7 Mar 2015 20:47:04 +0100
From: Sebastian Reichel <sre@...nel.org>
To: Valentin Rothberg <Valentin.Rothberg@...6.fr>
Cc: dbaryshkov@...il.com, dwmw2@...radead.org,
linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ab8500_fg.c: only request threaded IRQs when necessary
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@...6.fr>
Thanks, queued:
http://git.infradead.org/battery-2.6.git/commit/02232be7a2bf6e2dd5e4a6c3a81470a09ecc7fdd
-- Sebastian
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists