patch-2.6.6-vs1.9.0
[linux-2.6.git] / mm / rmap.c
index 5577805..f23ff9c 100644 (file)
--- a/mm/rmap.c
+++ b/mm/rmap.c
@@ -374,7 +374,8 @@ static int fastcall try_to_unmap_one(struct page * page, pte_addr_t paddr)
        if (pte_dirty(pte))
                set_page_dirty(page);
 
-       mm->rss--;
+       // mm->rss--;
+       vx_rsspages_dec(mm);
        page_cache_release(page);
        ret = SWAP_SUCCESS;