Skip to content
Commit 4d7672b4 authored by Linus Torvalds's avatar Linus Torvalds
Browse files

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



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>
parent 281ab031
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment