]> 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)
commit9a742f87ce33faad1777766842ecc2b41978755b
tree121683c4e94117b9e41d31b0bc359c01a05412ba
parent6d1b63990978d7ee8cc7e7061754e6519df5eefb
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