lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.DEB.1.10.0902130046250.15469@gandalf.stny.rr.com>
Date:	Fri, 13 Feb 2009 00:46:44 -0500 (EST)
From:	Steven Rostedt <rostedt@...dmis.org>
To:	Frederic Weisbecker <fweisbec@...il.com>
cc:	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] rt/threadirqs: put the irq thread handler in a
 callback


On Fri, 13 Feb 2009, Frederic Weisbecker wrote:

> Currently, when a hardirq is threaded, it is processed by do_hardirq()
> which guess the best low-level handler for this irq.
> 
> This makes several branch conditions to check for each irq triggered,
> adding some (very small) latencies since we are in a fastpath (irq disabled)
> of the irq processing.
> 
> So it's better to put these checks only once when the handler of the irq is set
> and then only dereference one pointer to find the appropriate callback.
> 
> This patch makes the irq thread handler a field in struct irq_desc.
> 
> [Note, I'm not sure the check if (!desc->handle_irq_thread) is really
> useful. I've put it to ensure that even an irq_desc which never gone to
> __set_irq_handler() can be handled. But I'm not sure it is possible.]
> 
> Signed-off-by: Frederic Weisbecker <fweisbec@...il.com>

Thanks, I'll apply it to my local tree and test it out.

-- Steve

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ