Re: [PATCH 2/2] mm/mmap: Clarify protection_map[] indices
From: Christoph Hellwig
Date: Thu Apr 07 2022 - 05:44:28 EST
On Mon, Apr 04, 2022 at 08:48:40AM +0530, Anshuman Khandual wrote:
> 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.
Looks good:
Reviewed-by: Christoph Hellwig <hch@xxxxxx>