IIUC this series is about devdax namespace with aligh of 1G or 2M where we can save the vmmemap space by not allocating memory for tail struct pages? Dan Williams <[email protected]> writes: > > enum: >> > >> > enum devmap_geometry { >> > DEVMAP_PTE, >> > DEVMAP_PMD, >> > DEVMAP_PUD, >> > } >> > >> I suppose a converter between devmap_geometry and page_size would be needed >> too? And maybe >> the whole dax/nvdimm align values change meanwhile (as a followup >> improvement)? > > I think it is ok for dax/nvdimm to continue to maintain their align > value because it should be ok to have 4MB align if the device really > wanted. However, when it goes to map that alignment with > memremap_pages() it can pick a mode. For example, it's already the > case that dax->align == 1GB is mapped with DEVMAP_PTE today, so > they're already separate concepts that can stay separate. devdax namespace with align of 1G implies we expect to map them with 1G pte entries? I didn't follow when you say we map them today with DEVMAP_PTE entries. -aneesh _______________________________________________ Linux-nvdimm mailing list -- [email protected] To unsubscribe send an email to [email protected]
- Re: [PATCH v1 04/11] mm/memremap: add ZONE_DEVICE su... Dan Williams
- Re: [PATCH v1 04/11] mm/memremap: add ZONE_DEVIC... Matthew Wilcox
- Re: [PATCH v1 04/11] mm/memremap: add ZONE_DEVIC... Joao Martins
- Re: [PATCH v1 04/11] mm/memremap: add ZONE_D... Dan Williams
- Re: [PATCH v1 04/11] mm/memremap: add ZO... Joao Martins
- Re: [PATCH v1 04/11] mm/memremap: a... Dan Williams
- Re: [PATCH v1 04/11] mm/memrema... Joao Martins
- Re: [PATCH v1 04/11] mm/memremap: a... Joao Martins
- Re: [PATCH v1 04/11] mm/memrema... Jane Chu
- Re: [PATCH v1 04/11] mm/memrema... Joao Martins
- Re: [PATCH v1 04/11] mm/memremap: add ZO... Aneesh Kumar K.V
- Re: [PATCH v1 04/11] mm/memremap: a... Joao Martins
- Re: [PATCH v1 04/11] mm/memrema... Matthew Wilcox
- Re: [PATCH v1 04/11] mm/memrema... Joao Martins
- [PATCH v1 03/11] mm/page_alloc: refactor memmap_init_zone... Joao Martins
- Re: [PATCH v1 03/11] mm/page_alloc: refactor memmap_... Dan Williams
- Re: [PATCH v1 03/11] mm/page_alloc: refactor mem... Joao Martins
- [PATCH v1 08/11] mm/sparse-vmemmap: use hugepages for PUD... Joao Martins
- [PATCH v1 10/11] device-dax: compound pagemap support Joao Martins
- [PATCH v1 05/11] mm/sparse-vmemmap: add a pgmap argument ... Joao Martins
