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

Re: address spaces in kernel



Fawad Lateef wrote:

On 9/3/05, Rahul Iyer <idlisambar@xxxxxxxxx> wrote:


                         Paging
Segmentation
Virtual Address ------------> Linear Address -------------------------->
Physical Address




I know this, its clearly mentioned in the Intel System Programming Manual !!! but I havn't seen any linear address related thing in kernel .... can you point me towards it ??? b/c AFAIK kernel uses virtual adresses not linear and I havn't found any difference b/w them or might I still not aware of it :(



Hi Fawad,
Linux doesn't really use segmentation. But x86 *requires* you to use it. IIRC, Linux defines all segments as the 4G of memory. What i mean is that each segment maps all of the 4G. Because of this, there is a 1 to 1 correspondence between Linear and Physical addresses.
thanks
Rahul



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