Re: [PATCH 3/4] vmemmap: pull out the vmemmap code into its own file

Christoph Lameter
2007-08-03T16:58:02Z

On Fri, 3 Aug 2007, Andy Whitcroft wrote:

> As the PMD initialisers are only used by x86_64 we could make it supply
> a complete vmemmap_populate level initialiser but that would result in
> us duplicating the PUD level initialier function there which seems like
> a bad idea.

Hmmm... at least i386 also uses it. Looked through the other arches but
cannot find evidence of them supporting PMD level huge page stuff.

There are some embedded archs (example FRV) which seem to be i386 knock
offs and those also support the same in hardware. There is some
rudimentary PSE suport in FRV. Has mk_pte_huge(). So I would expect that
at least i386, x86_64 and FRV would benefit from a generic implementation.