Re: [patch] i386: remove IOPL check on task switch

From: Chuck Ebbert
Date: Fri Nov 03 2006 - 19:04:09 EST


In-Reply-To: <454B850C.3050402@xxxxxxxxxx>

On Fri, 03 Nov 2006 10:06:04 -0800, Zachary Amsden wrote:

> Chuck Ebbert wrote:
> > IOPL is implicitly saved and restored on task switch,
> > so explicit check is no longer needed.
>
> Nack. This is used for paravirt-ops kernels that use IOPL'd userspace.

How does that work? In the stock kernel, anything done by
the call to set_iopl_mask() (that was removed by the patch)
will be nullified by the 'popfl' at the end of the switch_to()
macro.

--
Chuck
"Even supernovas have their duller moments."
-
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/