Re: math_state_restore() question

From: Akira Tsukamoto
Date: Wed Aug 17 2005 - 10:12:57 EST



On Wed, 17 Aug 2005 17:42:22 +0900 (JST)
Hiro Yoshioka <hyoshiok@xxxxxxxxxxxxxxxx> mentioned:
> > Just take a look at __switch_to(), where __unlazy_fpu() is called.
>
> Thanks. Does an exception handler (like page_fault, etc) come
> from __switch_to()?

No, page_fault is generated when the location of memory access(virtual)
does not have physical memory.

If you have a code like this,
movq (%%esi), %%mm0
a page of address %%esi might be swapped out already and might not
have any physical memory page allocated.


--
Akira Tsukamoto <akira-t@xxxxxxxxxxxxxx, at541@xxxxxxxxxxxx>


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