From: Linus Torvalds Date: Fri, 16 Dec 2005 18:21:23 +0000 (-0800) Subject: Make sure we copy pages inserted with "vm_insert_page()" on fork X-Git-Tag: v2.6.15-rc6~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d7672b46244abffea1953e55688c0ea143dd617;p=pandora-kernel.git 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 Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed