Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 190187
b: refs/heads/master
c: 93d5c9b
h: refs/heads/master
i:
  190185: d231f87
  190183: 1199380
v: v3
  • Loading branch information
Andrea Arcangeli authored and Linus Torvalds committed Apr 24, 2010
1 parent 49dca2c commit 8a7f0d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cac36f707119b792b2396aed371d6b5cdc194890
refs/heads/master: 93d5c9be1ddd57d4063ce463c9ac2be1e5ee14f1
4 changes: 2 additions & 2 deletions trunk/mm/memcontrol.c
Original file line number Diff line number Diff line change
Expand Up @@ -2429,11 +2429,11 @@ int mem_cgroup_prepare_migration(struct page *page, struct mem_cgroup **ptr)
}
unlock_page_cgroup(pc);

*ptr = mem;
if (mem) {
ret = __mem_cgroup_try_charge(NULL, GFP_KERNEL, &mem, false);
ret = __mem_cgroup_try_charge(NULL, GFP_KERNEL, ptr, false);
css_put(&mem->css);
}
*ptr = mem;
return ret;
}

Expand Down

0 comments on commit 8a7f0d0

Please sign in to comment.