X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=mm%2Fmmu_context.c;h=9e82e937000e19f8210b10886457a3d82ee0870b;hb=c3ca48f062a37c2f79560a9b0b9f1b08039aa248;hp=0777654147c9d0e3fd0b676771dc5052bcab9455;hpb=318ae2edc3b29216abd8a2510f3f80b764f06858;p=karo-tx-linux.git diff --git a/mm/mmu_context.c b/mm/mmu_context.c index 0777654147c9..9e82e937000e 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);