Re: __switch_to macro

Jamie Lokier (lk@tantalophile.demon.co.uk)
Fri, 6 Apr 2001 13:39:02 +0200


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/