mm: use vma_init() to initialize VMAs on stack and data segments
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Thu, 26 Jul 2018 23:37:30 +0000 (16:37 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 27 Jul 2018 02:38:03 +0000 (19:38 -0700)
commit2c4541e24c55e2847bede93e33d749280edd429a
treec0d440dee0cd3129e8c7a0d182407c6804543c51
parent027232da7c7c1c7f04383f93bd798e475dde5285
mm: use vma_init() to initialize VMAs on stack and data segments

Make sure to initialize all VMAs properly, not only those which come
from vm_area_cachep.

Link: http://lkml.kernel.org/r/20180724121139.62570-3-kirill.shutemov@linux.intel.com
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/arm/kernel/process.c
arch/arm/mach-rpc/ecard.c
arch/arm64/include/asm/tlb.h
arch/arm64/mm/hugetlbpage.c
arch/ia64/include/asm/tlb.h
arch/ia64/mm/init.c
arch/x86/um/mem_32.c
fs/hugetlbfs/inode.c
mm/mempolicy.c
mm/shmem.c