On 18 Jun 2025, at 15:42, Lorenzo Stoakes wrote: > We abstract the type of the VMA flags to vm_flags_t, however in may places > it is simply assumed this is unsigned long, which is simply incorrect. > > At the moment this is simply an incongruity, however in future we plan to > change this type and therefore this change is a critical requirement for > doing so. > > Overall, this patch does not introduce any functional change. > > Signed-off-by: Lorenzo Stoakes <lorenzo.stoa...@oracle.com> > --- > arch/arm64/mm/mmap.c | 2 +- > arch/powerpc/include/asm/book3s/64/pkeys.h | 3 ++- > arch/sparc/mm/init_64.c | 2 +- > arch/x86/mm/pgprot.c | 2 +- > include/linux/mm.h | 4 ++-- > include/linux/pgtable.h | 2 +- > tools/testing/vma/vma_internal.h | 2 +- > 7 files changed, 9 insertions(+), 8 deletions(-) > Acked-by: Zi Yan <z...@nvidia.com> -- Best Regards, Yan, Zi
- Re: [PATCH 1/3] mm: change vm_get_page_prot() to ac... Christian Brauner
- Re: [PATCH 1/3] mm: change vm_get_page_prot() t... Lorenzo Stoakes
- Re: [PATCH 1/3] mm: change vm_get_page_prot... Pedro Falcato
- Re: [PATCH 1/3] mm: change vm_get_page_prot() to ac... Oscar Salvador
- Re: [PATCH 1/3] mm: change vm_get_page_prot() t... Lorenzo Stoakes
- Re: [PATCH 1/3] mm: change vm_get_page_prot() to ac... Lorenzo Stoakes
- Re: [PATCH 1/3] mm: change vm_get_page_prot() t... David Hildenbrand
- Re: [PATCH 1/3] mm: change vm_get_page_prot() to ac... Vlastimil Babka
- Re: [PATCH 1/3] mm: change vm_get_page_prot() t... Lorenzo Stoakes
- Re: [PATCH 1/3] mm: change vm_get_page_prot() to ac... Pedro Falcato
- Re: [PATCH 1/3] mm: change vm_get_page_prot() to ac... Zi Yan
- Re: [PATCH 1/3] mm: change vm_get_page_prot() to ac... Catalin Marinas
- Re: [PATCH 1/3] mm: change vm_get_page_prot() to ac... Anshuman Khandual
- [PATCH 3/3] mm: update architecture and driver code to u... Lorenzo Stoakes
- Re: [PATCH 3/3] mm: update architecture and driver ... Christian Brauner
- Re: [PATCH 3/3] mm: update architecture and driver ... Vlastimil Babka
- Re: [PATCH 3/3] mm: update architecture and driver ... Oscar Salvador
- Re: [PATCH 3/3] mm: update architecture and driver ... Pedro Falcato
- Re: [PATCH 3/3] mm: update architecture and driver ... David Hildenbrand
- Re: [PATCH 3/3] mm: update architecture and driver ... Zi Yan
- Re: [PATCH 3/3] mm: update architecture and driver ... Catalin Marinas