Re: irq-disabled vs vmap vs text_poke

From: Peter Zijlstra
Date: Fri Feb 13 2009 - 09:27:19 EST


Ok, lets CC kprobes folk

On Fri, 2009-02-13 at 09:18 -0500, Mathieu Desnoyers wrote:
>
> text_poke should actually use local_irq_disable/enable rather than
> local_irq_save/restore because it _must_ be called with interrupts on.
>
> > Anybody got an idea on how to fix this?
>
> There is probably something wrong with the caller, kprobes, which calls
> text_poke with interrupts off.


--
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/