Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 188920
b: refs/heads/master
c: 298359c
h: refs/heads/master
v: v3
  • Loading branch information
Michael S. Tsirkin authored and Linus Torvalds committed Mar 24, 2010
1 parent f759ddd commit 6890b3e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 53feb29767c29c877f9d47dcfe14211b5b0f7ebd
refs/heads/master: 298359c5bf06c04258d7cf552426e198c47e83c1
1 change: 1 addition & 0 deletions trunk/mm/memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ void __sync_task_rss_stat(struct task_struct *task, struct mm_struct *mm)

for (i = 0; i < NR_MM_COUNTERS; i++) {
if (task->rss_stat.count[i]) {
BUG_ON(!mm);
add_mm_counter(mm, i, task->rss_stat.count[i]);
task->rss_stat.count[i] = 0;
}
Expand Down
1 change: 1 addition & 0 deletions trunk/mm/mmu_context.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6890b3e

Please sign in to comment.