diff options
author | Ivo Sieben <meltedpianoman@gmail.com> | 2013-06-03 12:12:02 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2013-06-11 16:18:50 +0200 |
commit | ee23871389d51e07380d23887333622fbe7d3dd9 (patch) | |
tree | 729b38096a39a2e9ff318149c40a6ca53199707e /kernel/irq/generic-chip.c | |
parent | 9dbd90f17e4f380593ec5194c2a4d5e52c5f72d1 (diff) |
genirq: Set irq thread to RT priority on creation
When a threaded irq handler is installed the irq thread is initially
created on normal scheduling priority. Only after the irq thread is
woken up it sets its priority to RT_FIFO MAX_USER_RT_PRIO/2 itself.
This means that interrupts that occur directly after the irq handler
is installed will be handled on a normal scheduling priority instead
of the realtime priority that one would expect.
Fix this by setting the RT priority on creation of the irq_thread.
Signed-off-by: Ivo Sieben <meltedpianoman@gmail.com>
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/1370254322-17240-1-git-send-email-meltedpianoman@gmail.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/irq/generic-chip.c')
0 files changed, 0 insertions, 0 deletions