lkml.org 
[lkml]   [2001]   [Apr]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: __switch_to macro
alad@hss.hns.com wrote:
> There's one thing that confuses me: don't you get a segment_not_present
> fault? If so, traps.c's do_segment_not_present doesn't appear to search
> the exception table, and the code in loadsegment would not work.
>
> >>> well.. I peeked into traps.c.. I do seem a call to die_if_no_fixup
> in this function. And I think loadsegment is already making an entry in
> exception table.

Ah, you're right. I didn't follow DO_ERROR all the way to do_trap and
hency search_exception_table.

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

\
 
 \ /
  Last update: 2005-03-22 13:24    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog