Re: [PATCH 5/5] genirq: Mark IRQ thread handlers with irq_thread flag

From: Alexander Gordeev
Date: Thu Feb 23 2012 - 12:08:06 EST


Hi Thomas!

Self-NAK on this patch. This hunk is reported wrong..

> --- a/kernel/exit.c
> +++ b/kernel/exit.c
> @@ -896,7 +896,7 @@ void do_exit(long code)
>
> WARN_ON(blk_needs_flush_plug(tsk));
>
> - if (unlikely(in_interrupt()))
> + if (unlikely(!tsk->irq_thread && in_interrupt()))
> panic("Aiee, killing interrupt handler!");
> if (unlikely(!tsk->pid))
> panic("Attempted to kill the idle task!");

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