On 6/24/22 10:39, Christoph Hellwig wrote: > On Fri, Jun 24, 2022 at 10:13:15AM +0530, Anshuman Khandual wrote: >> This just converts the generic vm_get_page_prot() implementation into a new >> macro i.e DECLARE_VM_GET_PAGE_PROT which later can be used across platforms >> when enabling them with ARCH_HAS_VM_GET_PAGE_PROT. This does not create any >> functional change. > > mm.h is a huhe header included by almost everything in the kernel. > I'd rather have it in something only included in a few files. If we > can't find anything suitable it might be worth to add a header just > for this even. I guess <linux/pgtable.h> should be better ? _______________________________________________ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc
- [PATCH V4 00/26] mm/mmap: Drop __SXXX/__PXXX macros from... Anshuman Khandual
- [PATCH V4 01/26] mm/mmap: Build protect protection_... Anshuman Khandual
- Re: [PATCH V4 01/26] mm/mmap: Build protect pro... Christoph Hellwig
- Re: [PATCH V4 01/26] mm/mmap: Build protect pro... Christophe Leroy
- [PATCH V4 02/26] mm/mmap: Define DECLARE_VM_GET_PAG... Anshuman Khandual
- Re: [PATCH V4 02/26] mm/mmap: Define DECLARE_VM... Christoph Hellwig
- Re: [PATCH V4 02/26] mm/mmap: Define DECLAR... Anshuman Khandual
- Re: [PATCH V4 02/26] mm/mmap: Define DECLARE_VM... Christophe Leroy
- Re: [PATCH V4 02/26] mm/mmap: Define DECLAR... Anshuman Khandual
- Re: [PATCH V4 02/26] mm/mmap: Define DECLARE_VM... Christophe Leroy
- [PATCH V4 03/26] powerpc/mm: Move protection_map[] ... Anshuman Khandual
- Re: [PATCH V4 03/26] powerpc/mm: Move protectio... Christophe Leroy
- Re: [PATCH V4 03/26] powerpc/mm: Move prote... Anshuman Khandual
- Re: [PATCH V4 03/26] powerpc/mm: Move protectio... Christophe Leroy
- [PATCH V4 04/26] sparc/mm: Move protection_map[] in... Anshuman Khandual
- [PATCH V4 05/26] arm64/mm: Move protection_map[] in... Anshuman Khandual
- Re: [PATCH V4 05/26] arm64/mm: Move protection_... Catalin Marinas