]> git.baikalelectronics.ru Git - kernel.git/commit
mm: zero out the vma in vma_init()
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 22 Aug 2018 04:53:06 +0000 (21:53 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 22 Aug 2018 17:52:44 +0000 (10:52 -0700)
commitdb205052aff8f77e2ad4965025b75e3e9e4e2007
tree57540edd0f9f24335154139c17695a13b594fe58
parent9d41c165242d80c1210be40592e33a48965f5ce2
mm: zero out the vma in vma_init()

Rather than in vm_area_alloc().  To ensure that the various oddball
stack-based vmas are in a good state.  Some of the callers were zeroing
them out, others were not.

Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/arm/kernel/process.c
fs/hugetlbfs/inode.c
include/linux/mm.h
kernel/fork.c
mm/mempolicy.c
mm/shmem.c