Linus Torvalds writes: (Summary) And those places had the
memset() already.
memset() already.
So I'm inclined to simply mark the TLB-related vma_init() cases special, and use something like this:
special, and use something like this:
memset() already.
So I'm inclined to simply mark the TLB-related vma_init() cases special, and use something like this:
special, and use something like this:
#define TLB_FLUSH_VMA(mm,flags) { .vm_mm = (mm), .vm_flags = (flags) } to make it very obvious when we're doing that vma initialization for flush_tlb_range(). } diff --git a/arch/arm64/include/asm/tlb.h b/arch/arm64/include/asm/tlb.h index d87f2d646caa..0ad1cf233470 100644 --- a/arch/arm64/include/asm/tlb.h +++ b/arch/arm64/include/asm/tlb.h @@ -37,9 +37,7 @@ static inline void __tlb_remove_table(void *_table) static inline void tlb_flush(struct mmu_gather *tlb) { - struct vm_area_struct vma;