mm: make vm_area_alloc() initialize core fields
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 21 Jul 2018 22:24:03 +0000 (15:24 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 21 Jul 2018 22:24:03 +0000 (15:24 -0700)
commit490fc053865c9cc40f1085ef8a5504f5341f79d2
tree95f2e6e189cdae1a5e638b7ea4e39502605eaaa8
parent95faf6992df468f617edb788da8c21c6eed0dfa7
mm: make vm_area_alloc() initialize core fields

Like vm_area_dup(), it initializes the anon_vma_chain head, and the
basic mm pointer.

The rest of the fields end up being different for different users,
although the plan is to also initialize the 'vm_ops' field to a dummy
entry.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/ia64/kernel/perfmon.c
arch/ia64/mm/init.c
fs/exec.c
include/linux/mm.h
kernel/fork.c
mm/mmap.c
mm/nommu.c