commit | 95faf6992df468f617edb788da8c21c6eed0dfa7 | [log] [tgz] |
---|---|---|
author | Linus Torvalds <torvalds@linux-foundation.org> | Sat Jul 21 14:48:45 2018 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Sat Jul 21 14:48:45 2018 -0700 |
tree | 121683c4e94117b9e41d31b0bc359c01a05412ba | |
parent | 3928d4f5ee37cdc523894f6e549e6aae521d8980 [diff] |
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>