Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 365455
b: refs/heads/master
c: 465adcf
h: refs/heads/master
i:
  365453: 03147ab
  365451: 5c86a57
  365447: 2796795
  365439: 1317529
v: v3
  • Loading branch information
David Rientjes authored and Linus Torvalds committed Apr 29, 2013
1 parent 1899f12 commit 491afb5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 5918d10a4bb1081920a04e2c17197a02ff06e651
refs/heads/master: 465adcf1ea7b2e49b2e0899366624f5532b64012
8 changes: 4 additions & 4 deletions trunk/mm/memcontrol.c
Original file line number Diff line number Diff line change
Expand Up @@ -1787,11 +1787,11 @@ static void mem_cgroup_out_of_memory(struct mem_cgroup *memcg, gfp_t gfp_mask,
struct task_struct *chosen = NULL;

/*
* If current has a pending SIGKILL, then automatically select it. The
* goal is to allow it to allocate so that it may quickly exit and free
* its memory.
* If current has a pending SIGKILL or is exiting, then automatically
* select it. The goal is to allow it to allocate so that it may
* quickly exit and free its memory.
*/
if (fatal_signal_pending(current)) {
if (fatal_signal_pending(current) || current->flags & PF_EXITING) {
set_thread_flag(TIF_MEMDIE);
return;
}
Expand Down

0 comments on commit 491afb5

Please sign in to comment.