X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=mm%2Ffremap.c;h=08f03946d2cc29106a235c7aeb824b3cd02a1352;hb=8e8ece46a861c84343256819eaec77e608ff9217;hp=036ccfbbf223e4b33c5b326b46d3abaca0314597;hpb=6a77f38946aaee1cd85eeec6cf4229b204c15071;p=linux-2.6.git diff --git a/mm/fremap.c b/mm/fremap.c index 036ccfbbf..08f03946d 100644 --- a/mm/fremap.c +++ b/mm/fremap.c @@ -40,7 +40,6 @@ static inline void zap_pte(struct mm_struct *mm, struct vm_area_struct *vma, set_page_dirty(page); page_remove_rmap(page); page_cache_release(page); - // mm->rss--; vx_rsspages_dec(mm); } } @@ -97,7 +96,6 @@ int install_page(struct mm_struct *mm, struct vm_area_struct *vma, zap_pte(mm, vma, addr, pte); - // mm->rss++; vx_rsspages_inc(mm); flush_icache_page(vma, page); set_pte(pte, mk_pte(page, prot));