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 [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to