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

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

 



On 6/9/05, Martin Jambor <jamborm@xxxxxxxxx> wrote:
> On 6/8/05, Xiangfei Jia <xjianz@xxxxxxxxx> wrote:
> > 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.
> 
> Because it is basically compulsory on i386 architectures. You cannot
> avoid having a GDT in protected mode of the processor (you can't
> switch segmentation off, unlike paging, btw). In other words,
> processor instructions take logical address as parameters, not linear
> ones.
> 
> HTH
> 
> Martin Jambor
> 
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/

i remember filling GDT with TLS segments for glibc. what does this
segment mean ? is it that the glibc libraries are found in this
segment ?

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux