Re: [BUG] broken ebba638ae723d8a8fc2f7abce5ec18b688b791d7

From: H. Peter Anvin
Date: Mon Jan 31 2011 - 20:10:28 EST


On 01/31/2011 03:52 PM, Kees Cook wrote:

This worked, thanks! If this tests cleanly for you in qemu, we should get
this committed.


This is wrong for at least one reason; possibly two:

a) it ignores the control to not reload the segment registers (not sure if anything still uses them, but...)

b) I'm not sure that init_thread_union is safe for the non-BSP CPU here.

-hpa
--
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/