Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 87495
b: refs/heads/master
c: 52ea27e
h: refs/heads/master
i:
  87493: e1f0bf5
  87491: f6c41a8
  87487: de8df15
v: v3
  • Loading branch information
Pavel Emelyanov authored and Linus Torvalds committed Mar 20, 2008
1 parent 112c641 commit 579b382
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 0cf01f6685bef41dea37bbec606f375b7a98fd98
refs/heads/master: 52ea27eb4cd5f250f33638029a134ff03c5e6bbb
2 changes: 1 addition & 1 deletion trunk/mm/memcontrol.c
Original file line number Diff line number Diff line change
Expand Up @@ -1079,7 +1079,7 @@ static void mem_cgroup_move_task(struct cgroup_subsys *ss,
* Only thread group leaders are allowed to migrate, the mm_struct is
* in effect owned by the leader
*/
if (p->tgid != p->pid)
if (!thread_group_leader(p))
goto out;

css_get(&mem->css);
Expand Down

0 comments on commit 579b382

Please sign in to comment.