Place the file offset in the unmapped pte for all vma's, not just nonlinear
ones.

This is for testing purposes.


 25-akpm/mm/rmap.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN mm/rmap.c~pte_file-always mm/rmap.c
--- 25/mm/rmap.c~pte_file-always	Tue Mar  4 13:16:49 2003
+++ 25-akpm/mm/rmap.c	Tue Mar  4 13:17:03 2003
@@ -598,7 +598,7 @@ static int try_to_unmap_one(struct page 
 		 * in the pte.
 		 */
 		pgidx = (address - vma->vm_start) >> PAGE_SHIFT;
-		if (page->index != pgidx) {
+		if (1 || page->index != pgidx) {
 			set_pte(ptep, pgoff_to_pte(page->index));
 			BUG_ON(!pte_file(*ptep));
 		}

_