Re: [PATCH] kprobes for 2.5.30

From: Linus Torvalds (torvalds@transmeta.com)
Date: Tue Aug 06 2002 - 00:48:38 EST


On Tue, 6 Aug 2002, Rusty Russell wrote:
>
> I am reading from this that we *should* be explicitly disabling
> preemption in interrupt handlers if we rely on the cpu number not
> changing underneath us, even if it's (a) currently unneccessary, and
> (b) arch-specific code.

But do_irq() already does that.

You mean _exception_ handlers. It's definitely not unnecessary. Exceptions
can very much be preempted.

                Linus

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



This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:30 EST