From: Linus Torvalds Date: Mon, 12 Dec 2005 04:38:17 +0000 (-0800) Subject: Allow arbitrary read-only shared pfn-remapping too X-Git-Tag: v2.6.15-rc6~144 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67121172f9753f38689651b613a4850e0e75876f;p=pandora-kernel.git Allow arbitrary read-only shared pfn-remapping too The VM layer (for historical reasons) turns a read-only shared mmap into a private-like mapping with the VM_MAYWRITE bit clear. Thus checking just VM_SHARED isn't actually sufficient. So use a trivial helper function for the cases where we wanted to inquire if a mapping was COW-like or not. Moo! Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed