Messages in this thread |  | | Date | Fri, 22 Sep 2000 12:18:34 -0700 (PDT) | From | Linus Torvalds <> | Subject | Re: [PATCH] 2.4.0 i386 watchpoint problems |
| |
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/
|  |