]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/debug_vm_pgtable: drop protection_map[] usage
authorAnshuman Khandual <anshuman.khandual@arm.com>
Thu, 14 Apr 2022 06:07:06 +0000 (23:07 -0700)
committerakpm <akpm@linux-foundation.org>
Thu, 14 Apr 2022 06:07:06 +0000 (23:07 -0700)
commit0c3ce61fe995ad3b60b5d395c0ddd2d876886ab9
treeba0876f22a1a27f19b36b9aabf8cd5c5fa1873dd
parentf516430f1f14d26b0d02c9cc7dc75d6ccd40b635
mm/debug_vm_pgtable: drop protection_map[] usage

Patch series "mm: protection_map[] cleanups".

This patch (of 2):

Although protection_map[] contains the platform defined page protection
map for a given vm_flags combination, vm_get_page_prot() is the right
interface to use.  This will also reduce dependency on protection_map[]
which is going to be dropped off completely later on.

Link: https://lkml.kernel.org/r/20220404031840.588321-1-anshuman.khandual@arm.com
Link: https://lkml.kernel.org/r/20220404031840.588321-2-anshuman.khandual@arm.com
Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/debug_vm_pgtable.c