Allow arbitrary shared PFNMAP's
authorLinus Torvalds <torvalds@g5.osdl.org>
Mon, 12 Dec 2005 03:46:02 +0000 (19:46 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 12 Dec 2005 03:46:02 +0000 (19:46 -0800)
commitfb155c1619f056ae9765eed272cd6aba6e1a7399
tree04a82b5fbf83bdb9dcf7fec9aeaaecf92532d88c
parente4f5c82a92c2a546a16af1614114eec19120e40a
Allow arbitrary shared PFNMAP's

A shared mapping doesn't cause COW-pages, so we don't need to worry
about the whole vm_pgoff logic to decide if a PFN-remapped page has
gone through COW or not.

This makes it possible to entirely avoid the special "partial remapping"
logic for the common case.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/memory.c