Thread (52 messages) 52 messages, 6 authors, 2022-06-27

Re: [PATCH V4 00/26] mm/mmap: Drop __SXXX/__PXXX macros from across platforms

From: Christoph Hellwig <hch@infradead.org>
Date: 2022-06-24 05:21:58
Also in: linux-alpha, linux-m68k, linux-mips, linux-mm, linux-riscv, linux-s390, linux-sh, linux-um, linuxppc-dev, lkml, sparclinux

On Fri, Jun 24, 2022 at 10:50:33AM +0530, Anshuman Khandual wrote:
quoted
On most architectures this should be const now, only very few ever
modify it.
Will make it a 'static const pgprot_t protection_map[16] __ro_after_init'
on platforms that do not change the protection_map[] even during boot.
No need for __ro_after_init when it is already declarated const.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help