On Thu, Jun 18, 2020 at 06:45:30AM +0530, Anshuman Khandual wrote:
> Device memory ranges when getting hot added into ZONE_DEVICE, might require
> their vmemmap mapping's backing memory to be allocated from their own range
> instead of consuming system memory. This prevents large system memory usage
> for potentially large device memory ranges. Device driver communicates this
> request via vmem_altmap structure. Architecture needs to take this request
> into account while creating and tearing down vemmmap mappings.
> 
> This enables vmem_altmap support in vmemmap_populate() and vmemmap_free()
> which includes vmemmap_populate_basepages() used for ARM64_16K_PAGES and
> ARM64_64K_PAGES configs.
> 
> Cc: Catalin Marinas <[email protected]>
> Cc: Will Deacon <[email protected]>
> Cc: Mark Rutland <[email protected]>
> Cc: Steve Capper <[email protected]>
> Cc: David Hildenbrand <[email protected]>
> Cc: Yu Zhao <[email protected]>
> Cc: Hsin-Yi Wang <[email protected]>
> Cc: Thomas Gleixner <[email protected]>
> Cc: Andrew Morton <[email protected]>
> Cc: [email protected]
> Cc: [email protected]
> Tested-by: Jia He <[email protected]>
> Signed-off-by: Anshuman Khandual <[email protected]>

This looks fine to me:

Reviewed-by: Catalin Marinas <[email protected]>

I presume this series would go into mainline via the mm tree as it
touches several architectures.

Reply via email to