Re: orig_eax in user_regs_struct ?

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

 



On Fri, 2004-10-15 at 10:17 +0530, neo linux wrote:

> Although when we say that we dont use segments,we see that the GDT is
> being intialized with the segment decriptors to the kernel code
> segment.Kernel data segment,User code segment ,User data segment and
> Task state segment etc.,
>  by the kernel.So when we say that linux does not use segments,is it
> because all the above mentioned segments overlap in linear address
> space from 0-4GB. I am a kernel newbie do get me cleared in this issue
> and correct me if i am wrong anywhere.

Yes, because they overlap.  We use segments in mild ways because x86
makes us.  We don't use segments in the traditional way (as an
alternative to paging).

We have a flat memory model, 0-4GB.

	Robert Love



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