commit | 67121172f9753f38689651b613a4850e0e75876f | [log] [tgz] |
---|---|---|
author | Linus Torvalds <torvalds@g5.osdl.org> | Sun Dec 11 20:38:17 2005 -0800 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Sun Dec 11 20:38:17 2005 -0800 |
tree | cfb6ea8365c44a43ee254385c7d246f0418cedd0 | |
parent | 913f2d792ff584bf9ebf5968472b3e4ffe0fd9c8 [diff] |
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 <torvalds@osdl.org>