]> git.baikalelectronics.ru Git - kernel.git/commit
mm: make vm_area_dup() actually copy the old vma data
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 21 Jul 2018 21:48:45 +0000 (14:48 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 21 Jul 2018 21:48:45 +0000 (14:48 -0700)
commit67e0be44b8e43a00638308fab59cfb1ee2b52db0
tree121683c4e94117b9e41d31b0bc359c01a05412ba
parent3671546cca2a688ddbae197f8ab53150b0867f93
mm: make vm_area_dup() actually copy the old vma data

.. and re-initialize th eanon_vma_chain head.

This removes some boiler-plate from the users, and also makes it clear
why it didn't need use the 'zalloc()' version.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/fork.c
mm/mmap.c
mm/nommu.c