Re: context overflow
From: Paul Mackerras <hidden>
Date: 2001-02-08 00:48:49
Dan Malek writes:
I don't yet have a proposal, and in retrospect it does seem the discussion started on a negative tone. I'm thinking about flying
Well, it did start with a remark of yours about our "mostly incorrect use of the MMU". :) I think that it is seductive but misleading when the PPC docs say that the PPC supports a "large virtual address space". Yes it does, in a sense, but it's not one that you can access directly on a 32-bit PPC; you have to go changing segment registers to get at all of it - i.e., there's no such thing as a pointer into this space that the CPU understands natively. You could have such a pointer as a 64-bit value, but to use it you have to split it apart and put one part in a segment register and make a pointer that the CPU understands out of the other part. And the other thing is that there just aren't enough segment registers on 32-bit PPCs to be really useful (except as a way of coarsely partitioning the address space). And of course when you go to a 64-bit PPC all of those sort of problems go away; you just have 64-bit pointers and set up your logical -> physical translation however you want, and you can then basically ignore the MMU's "virtual" address space except as something internal to the translation process that only really affects what values you have to put in the segment and hash tables. Paul. -- Paul Mackerras, Open Source Research Fellow, Linuxcare, Inc. +61 2 6262 8990 tel, +61 2 6262 8991 fax paulus@linuxcare.com.au, http://www.linuxcare.com.au/ Linuxcare. Putting open source to work. ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/