Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 88346
b: refs/heads/master
c: e115f2d
h: refs/heads/master
v: v3
  • Loading branch information
Li Zefan authored and Linus Torvalds committed Apr 16, 2008
1 parent 9451aca commit a28aeaa
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: e169c139642fb4c682ec12a409725508dbefa520
refs/heads/master: e115f2d89253490fb2dbf304b627f8d908df26f1
4 changes: 2 additions & 2 deletions trunk/mm/oom_kill.c
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ void mem_cgroup_out_of_memory(struct mem_cgroup *mem, gfp_t gfp_mask)
struct task_struct *p;

cgroup_lock();
rcu_read_lock();
read_lock(&tasklist_lock);
retry:
p = select_bad_process(&points, mem);
if (PTR_ERR(p) == -1UL)
Expand All @@ -436,7 +436,7 @@ void mem_cgroup_out_of_memory(struct mem_cgroup *mem, gfp_t gfp_mask)
"Memory cgroup out of memory"))
goto retry;
out:
rcu_read_unlock();
read_unlock(&tasklist_lock);
cgroup_unlock();
}
#endif
Expand Down

0 comments on commit a28aeaa

Please sign in to comment.