pmd_alloc, pte_alloc, Was Re: 2.4.3 and Alpha

tom_gall@vnet.ibm.com
Fri, 13 Apr 2001 22:37:51 +0000


Hi All, Alan,

I realize I don't keep up with the linux kernel mailing list like i should but
the change to pmd_alloc and pte_alloc has me a little worried.

I'm working on the ppc64 port (sources soon to be posted) and this change
affects one of the design attributes that we've had.

Basically in the pmd, it would seem that the current design in 2.4.3 forces
you to have pointers in there. Currently in our source we're using offsets
instead of a 64 bit pointer... this of course saved us from having to alloc 2
contiguous pages in memory.

This isn't the end of the world, we can change over to using pointers but I
just wanted to confirm that that was the intent or maybe I'm missing something
and there is still a way out and still have our own arch dependant
implementations of pte_alloc and pmd_alloc.

Regards,

Tom

Alan Cox wrote:
>
> > `pmd_alloc'
> > /usr/src/redhat/linux/include/linux/mm.h:412: previous declaration of
> > `pmd_alloc'
> > make: *** [init/main.o] Error 1
> >
> >
> > 2.4.1 compiled fine, and as far as I can see, some changes has been made
> > to mm.h since then. I think these changes was followed up by i386, ppc,
> > s390 and sparc64 kernels but not on others. Any plans on when this is
> > done ?
>
> Its fixed in the -ac tree but I've yet to push that set of changes to Linus

-- 
Tom Gall - PowerPC Linux Team    "Where's the ka-boom? There was
Linux Technology Center           supposed to be an earth
(w) tom_gall@vnet.ibm.com         shattering ka-boom!"
(w) 507-253-4558                 -- Marvin Martian
(h) tgall@rochcivictheatre.org
http://oss.software.ibm.com/developerworks/opensource/linux
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/