summaryrefslogtreecommitdiff
path: root/mm/sparse-vmemmap.c
diff options
context:
space:
mode:
authorAnshuman Khandual <anshuman.khandual@arm.com>2022-04-29 09:16:12 +0300
committerakpm <akpm@linux-foundation.org>2022-04-29 09:16:12 +0300
commit6c862bd05922af770c5b652037404c4f8131d984 (patch)
tree5669ac63de3de972d5166f8ee2d60b10142b679d /mm/sparse-vmemmap.c
parent31d17076b07c8ed212b1d865b36b0c7313885ef2 (diff)
downloadlinux-6c862bd05922af770c5b652037404c4f8131d984.tar.xz
mm/mmap: clarify protection_map[] indices
protection_map[] maps vm_flags access combinations into page protection value as defined by the platform via __PXXX and __SXXX macros. The array indices in protection_map[], represents vm_flags access combinations but it's not very intuitive to derive. This makes it clear and explicit. Link: https://lkml.kernel.org/r/20220404031840.588321-3-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>
Diffstat (limited to 'mm/sparse-vmemmap.c')
0 files changed, 0 insertions, 0 deletions