Re: [PATCH] 2.4.0 i386 watchpoint problems

From: Linus Torvalds (torvalds@transmeta.com)
Date: Fri Sep 22 2000 - 14:18:34 EST


On Fri, 22 Sep 2000, Andi Kleen wrote:
>
> Unless I'm missing something switch_to does not clear debug registers on
> context switch (unless another process also uses them)

You're missing something. The thing you're missing is the top of the
debug() trap handler, which handles the case of spurious debug interrupts
due to lazy debug register loading.

                Linus

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



This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 21:00:27 EST