X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=mm%2Fmmu_context.c;h=9e82e937000e19f8210b10886457a3d82ee0870b;hb=bb4354538eb7b92f32cfedbad68c7be266c0b467;hp=0777654147c9d0e3fd0b676771dc5052bcab9455;hpb=5da779c34ccff5e1e617892b6c8bd8260fb1f04c;p=safe%2Fjmp%2Flinux-2.6 diff --git a/mm/mmu_context.c b/mm/mmu_context.c index 0777654..9e82e93 100644 --- a/mm/mmu_context.c +++ b/mm/mmu_context.c @@ -53,6 +53,7 @@ void unuse_mm(struct mm_struct *mm) struct task_struct *tsk = current; task_lock(tsk); + sync_mm_rss(tsk, mm); tsk->mm = NULL; /* active_mm is still 'mm' */ enter_lazy_tlb(mm, tsk);