Linus Torvalds 67121172f9 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>
2005-12-11 20:38:17 -08:00
..
2005-10-29 21:40:39 -07:00
2005-06-24 00:06:41 -07:00
2005-10-28 08:16:51 -07:00
2005-04-16 15:20:36 -07:00
2005-10-28 08:16:47 -07:00
2005-04-16 15:20:36 -07:00
2005-10-29 21:40:42 -07:00
2005-11-28 14:34:23 -08:00
2005-11-28 14:34:23 -08:00
2005-10-29 21:40:42 -07:00
2005-04-16 15:20:36 -07:00
2005-11-07 07:53:37 -08:00
2005-10-29 21:40:42 -07:00
2005-11-22 09:13:42 -08:00