lkml.org 
[lkml]   [2000]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 12:45    [W:0.107 / U:1.916 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site