diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2014-01-31 14:20:31 +0100 |
---|---|---|
committer | Gary S. Robertson <gary.robertson@linaro.org> | 2014-05-07 08:56:21 -0500 |
commit | dde96f4f6aa267638f8ae621951ea54670516b3f (patch) | |
tree | be214410d89f955bddfec6625b13971c676b3519 /scripts | |
parent | 0a4eb2e367b825b2b0f4dcfe9ea4d0ac13e2d8d8 (diff) |
irq_work: allow certain work in hard irq context
irq_work is processed in softirq context on -RT because we want to avoid
long latencies which might arise from processing lots of perf events.
The noHZ-full mode requires its callback to be called from real hardirq
context (commit 76c24fb ("nohz: New APIs to re-evaluate the tick on full
dynticks CPUs")). If it is called from a thread context we might get
wrong results for checks like "is_idle_task(current)".
This patch introduces a second list (hirq_work_list) which will be used
if irq_work_run() has been invoked from hardirq context and process only
work items marked with IRQ_WORK_HARD_IRQ.
This patch also removes arch_irq_work_raise() from sparc & powerpc like
it is already done for x86. Atleast for powerpc it is somehow
superfluous because it is called from the timer interrupt which should
invoke update_process_times().
Cc: stable-rt@vger.kernel.org
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions