Chuck Ebbert wrote:
In-Reply-To: <[email protected]>
On Tue, 12 Dec 2006 14:54:30 -0800, Chros Wright wrote:
--- a/arch/i386/kernel/process.c Tue Dec 12 13:50:50 2006 -0800
+++ b/arch/i386/kernel/process.c Tue Dec 12 13:50:53 2006 -0800
@@ -665,6 +665,37 @@ struct task_struct fastcall * __switch_t
load_TLS(next, cpu);
/*
+ * Restore IOPL if needed.
+ */
+ if (unlikely(prev->iopl != next->iopl))
+ set_iopl_mask(next->iopl);
Small sidenote that this bit undoes a recent change from Chuck Ebbert, which
killed iopl_mask update via hypervisor.
This whole thing needs a proper fix IMO. I posted something a while back
but Andi didn't like it, I guess.
We can handle this one with an #ifdef CONFIG_PARAVIRT, though.
Zach
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]