[PATCH V4 1/7] mm/mmap: Add new config ARCH_HAS_VM_GET_PAGE_PROT

Catalin Marinas catalin.marinas at arm.com
Fri Apr 8 19:58:34 AEST 2022


On Thu, Apr 07, 2022 at 04:02:45PM +0530, Anshuman Khandual wrote:
> Add a new config ARCH_HAS_VM_GET_PAGE_PROT, which when subscribed enables a
> given platform to define its own vm_get_page_prot() but still utilizing the
> generic protection_map[] array.
> 
> Cc: Andrew Morton <akpm at linux-foundation.org>
> Cc: linux-mm at kvack.org
> Cc: linux-kernel at vger.kernel.org
> Suggested-by: Christoph Hellwig <hch at infradead.org>
> Signed-off-by: Anshuman Khandual <anshuman.khandual at arm.com>

Reviewed-by: Catalin Marinas <catalin.marinas at arm.com>


More information about the Linuxppc-dev mailing list