Re: [patch] Re: [2.1.117] GPF in APM while using WINE

Petko Manolov (petkan@varel.bg)
Tue, 25 Aug 1998 11:14:12 +0000


Linus Torvalds wrote:
>
> That will work correctly for both the case where a interrupt happened
> while the segments hadn't yet been updated, AND for the case (which can be
> synchronous) where a user had invalidated the segment pointed to by
> %fs/%gs.

It looks to me like loadsegment() does the thing.
But what about disabling IRQs at all during task switch, just in case?
This could prevent from such surprices in the future.

Petkan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html