Files
ack-tegra/arch/sparc/include/asm
Peter Zijlstra e360adbe29 irq_work: Add generic hardirq context callbacks
Provide a mechanism that allows running code in IRQ context. It is
most useful for NMI code that needs to interact with the rest of the
system -- like wakeup a task to drain buffers.

Perf currently has such a mechanism, so extract that and provide it as
a generic feature, independent of perf so that others may also
benefit.

The IRQ context callback is generated through self-IPIs where
possible, or on architectures like powerpc the decrementer (the
built-in timer facility) is set to generate an interrupt immediately.

Architectures that don't have anything like this get to do with a
callback from the timer tick. These architectures can call
irq_work_run() at the tail of any IRQ handlers that might enqueue such
work (like the perf IRQ handler) to avoid undue latencies in
processing the work.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Kyle McMartin <kyle@mcmartin.ca>
Acked-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
[ various fixes ]
Signed-off-by: Huang Ying <ying.huang@intel.com>
LKML-Reference: <1287036094.7768.291.camel@yhuang-dev>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2010-10-18 19:58:50 +02:00
..
2008-12-09 00:50:13 -08:00
2008-08-31 20:59:37 -07:00
2010-07-24 09:57:52 -06:00
2009-12-16 07:20:12 -08:00
2010-01-29 08:22:01 -08:00
2009-06-07 05:01:00 -07:00
2009-12-17 11:03:24 -05:00
2008-08-31 20:56:15 -07:00
2008-07-30 15:40:50 -07:00
2008-08-24 20:33:56 -07:00
2008-08-29 02:15:23 -07:00
2010-08-10 13:47:39 -07:00
2009-01-04 15:44:52 -08:00
2010-09-22 16:35:09 -04:00
2010-06-09 11:12:36 +02:00
2010-07-14 17:14:00 +10:00
2008-12-26 15:35:41 -08:00
2009-01-02 21:15:25 -08:00
2010-01-14 03:14:53 -08:00
2009-01-02 18:35:29 -08:00
2009-01-02 19:42:12 -08:00
2010-08-17 22:49:26 -07:00
2008-12-27 00:35:12 -08:00
2009-01-02 19:34:46 -08:00
2009-01-02 21:10:04 -08:00
2009-11-02 04:19:42 -08:00
2008-12-07 00:04:30 -08:00
2008-09-06 19:30:17 +01:00
2009-01-06 18:10:27 -08:00
2008-09-19 21:18:03 -07:00
2009-01-02 21:33:05 -08:00
2009-08-16 18:25:00 -07:00
2010-08-09 00:45:46 -07:00
2010-08-09 00:45:46 -07:00
2008-08-31 20:59:37 -07:00