]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9687905015e4cae955b714546d63aa5eb25bcfd6
tree04a82b5fbf83bdb9dcf7fec9aeaaecf92532d88c
parent0735476e75f0a98df41d294083abc3fa434b9d4d
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