Make sure we copy pages inserted with "vm_insert_page()" on fork
Linus Torvalds authored

The logic that decides that a fork() might be able to avoid copying a VM
area when it can be re-created by page faults didn't know about the new
vm_insert_page() case.

Also make some things a bit more anal wrt VM_PFNMAP.

Pointed out by Hugh Dickins <hugh@veritas.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
4d7672b4
Name Last commit Last update
..
Kconfig [PATCH] mm: update split ptlock Kconfig
Makefile [PATCH] memory hotplug: sysfs and add/remove functions
bootmem.c [PATCH] fix in __alloc_bootmem_core() when there is no free page in first node's memory
fadvise.c [PATCH] xip: madvice/fadvice: execute in place
filemap.c [PATCH] x86_64: Remove obsolete ARCH_HAS_ATOMIC_UNSIGNED and page_flags_t
filemap.h [PATCH] xip: reduce code duplication
filemap_xip.c [PATCH] mm: rmap with inner ptlock
fremap.c VM: add common helper function to create the page tables
highmem.c [PATCH] gfp_t: the rest
hugetlb.c [PATCH] hugetlb: fix race in set_max_huge_pages for multiple updaters of nr_huge_pages
internal.h Linux-2.6.12-rc2
madvise.c mm: re-architect the VM_UNPAGED logic
memory.c Make sure we copy pages inserted with "vm_insert_page()" on fork
memory_hotplug.c [PATCH] Fix calculation of grow_pgdat_span() in mm/memory_hotplug.c
mempolicy.c mm: re-architect the VM_UNPAGED logic
mempool.c [PATCH] gfp_t: mm/* (easy parts)
mincore.c [PATCH] freepgt: sys_mincore ignore FIRST_USER_PGD_NR
mlock.c Linux-2.6.12-rc2
mmap.c Make sure we copy pages inserted with "vm_insert_page()" on fork
mprotect.c [PATCH] unpaged: private write VM_RESERVED
mremap.c Make sure we copy pages inserted with "vm_insert_page()" on fork
msync.c mm: re-architect the VM_UNPAGED logic
nommu.c mm: re-architect the VM_UNPAGED logic
oom_kill.c [PATCH] gfp flags annotations - part 1
page-writeback.c [PATCH] re-export clear_page_dirty_for_io()
page_alloc.c
page_io.c
pdflush.c
prio_tree.c
readahead.c
rmap.c
shmem.c
slab.c
sparse.c
swap.c
swap_state.c
swapfile.c
thrash.c
tiny-shmem.c
truncate.c
vmalloc.c
vmscan.c