lkml.org 
[lkml]   [1997]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: csum_partial_copy_fromuser patch, #2
From
Date
Ingo Molnar <mingo@pc5829.hil.siemens.at> writes:

> how do you tell where the fault happened, in an SRC or in a DEST access?

Easy, by the address of the faulting instruction. You can have two
different exception handlers, one pointed to by faults on src, one
pointed to by faults on dst. I think I lost track of why you would
want to do this, though. Is it just to detect "this shouldn't happen"
errors in the kernel?

Tom.

\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.019 / U:0.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site