projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hugetlbfs: kill applications that use MAP_NORESERVE with SIGBUS instead of OOM-killer
[linux-2.6-block.git]
/
mm
/
mmu_context.c
diff --git
a/mm/mmu_context.c
b/mm/mmu_context.c
index 0777654147c9d0e3fd0b676771dc5052bcab9455..9e82e937000e19f8210b10886457a3d82ee0870b 100644
(file)
--- 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);