[RFC PATCH 1/4] libnvdimm/namespace: Make namespace size validation arch dependent

Aneesh Kumar K.V aneesh.kumar at linux.ibm.com
Thu Oct 31 19:37:49 AEDT 2019


On 10/31/19 12:00 PM, Dan Williams wrote:
> On Wed, Oct 30, 2019 at 10:35 PM Aneesh Kumar K.V
> <aneesh.kumar at linux.ibm.com> wrote:
> [..]

> 
> 
> All that said, the x86 vmemmap_populate() falls back to use small
> pages in some case to get around this constraint. Can't powerpc do the
> same? It would seem to be less work than the above proposal.
> 

ppc64 supports two translation mode (radix and hash). We can do the 
above with radix translation. With hash we use just one page size( in 
this specific case 16MB) for direct-map mapping.

-aneesh


More information about the Linuxppc-dev mailing list