Re: Boot failure in 2.5.31 BK with new TLS patch

James Bottomley (James.Bottomley@HansenPartnership.com)
Sat, 17 Aug 2002 12:20:44 -0500


paubert@iram.es said:
> Hey no, it's cpu_gdt_table that must be aligned. That one does not
> matter, it's only used once for the lgdt instruction...

Actually, the intel manual recommends (but doesn't require) a wierd alignment
for the descriptors. It recommends aligning them at an address which is 2 MOD
4 to avoid possible alignment check faults in user mode. Not that I think we
can ever run into the problem, but we should probably obey the recommendation.
I'll fix this up as well.

James

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