This is a split series from an earlier work which tried to drop the array protection_map[] on various platforms. This series applies on v5.18-rc1. https://lore.kernel.org/all/1646045273-9343-1-git-send-email-anshuman.khandual@xxxxxxx/ Cc: linux-mm@xxxxxxxxx Cc: linux-kernel@xxxxxxxxxxxxxxx Cc: Christoph Hellwig <hch@xxxxxx> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Anshuman Khandual (2): mm/debug_vm_pgtable: Drop protection_map[] usage mm/mmap: Clarify protection_map[] indices mm/debug_vm_pgtable.c | 31 +++++++++++++++++++------------ mm/mmap.c | 18 ++++++++++++++++-- 2 files changed, 35 insertions(+), 14 deletions(-) -- 2.25.1