Re: [PATCH] kprobes for 2.5.30

Linus Torvalds (torvalds@transmeta.com)
Mon, 5 Aug 2002 22:48:38 -0700 (PDT)


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/