Re: linear vs. logical addresses? how does cpu interpret kernel addrs?

From: Martin J. Bligh
Date: Tue Sep 16 2003 - 19:59:53 EST


> At some point in the past, someone had their attribution stripped from:
>>> 1) When I am referencing a pointer in the kernel, is the value of that
>>> pointer variable interpreted by the cpu as a logical or linear address?
>>> 2) if I have two overlapping data/stack segments presently selected,
>>> each with a different base, how does the cpu know which segment/base
>>> address to use to get the linear address?
>
> On Tue, Sep 16, 2003 at 05:48:04PM -0700, Martin J. Bligh wrote:
>> IIRC, all the base segments are 0, so none of this matters ;-)
>
> 2.0.x used such things as the segment bits, hardware tasking, and so on.

And happily is now supremely irrelevant ;-)

BTW, to the original question ... chapter 2 of "Understanding the Linux Kernel"
had a good explanation of all this.

M.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/