Re: Boot failure in 2.5.31 BK with new TLS patch

From: Gabriel Paubert (
Date: Sat Aug 17 2002 - 13:50:43 EST

Linus Torvalds wrote:
> The gdt descriptor alignment really shouldn't matter, but that bogus
> GDT _size_ thing in the descriptor might do it.


> Right now it's set to be 0x8000, which is not a legal GDT size (it
> should be of the form n*8-1), and is nonsensical anyway (the comment
> says 2048 entries, but the fact is, we don't _have_ 2048 entries in
> there).

In my source tree pulled about at the end of last night here (10pm in
California) it is still GDT_ENTRIES*8-1. Time to pull :-)


P.S: since the first entry is not used, the first 8 bytes could be filled
        1: .word 0
gdt_table_desc: .word GDT_ENTRIES*8-1
                .long 1b

to eliminate the array of GDT descriptors and save a few bytes.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Fri Aug 23 2002 - 22:00:14 EST