lkml.org 
[lkml]   [2022]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH V3 2/2] mm/mmap: Drop generic protection_map[] array
Date


Le 16/06/2022 à 06:09, Anshuman Khandual a écrit :
> Move the protection_array[] array inside the arch for those platforms which

s/protection_array/protection_map

> do not enable ARCH_HAS_VM_GET_PAGE_PROT. Afterwards __SXXX/__PXX macros can
> be dropped completely which are now redundant.

I see some protection_map[] are __ro_after_init, some not.

I'm sure several of them could be const as they are never modified.


Christophe
\
 
 \ /
  Last update: 2022-06-16 07:27    [W:0.160 / U:0.764 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site