[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why need the Global Descriptor Table in the kernel?



THANKS for your reply again!!!

Some of the segments used by Linux are, defined in GDT: kernel code segment, kernel data segment, user code segment, and user data segment. All these segment have the 'base=0x00000000' and 'Limit=0xfffff', which means they all share the same full range of memory. This means they all share the same linear address space. What I can't understand is that why don't the kernel just use linear addresses, without worrying logical address. Beause to me, the logical address makes no use in this case.

Regards!

Fei