Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 35606
b: refs/heads/master
c: 5081dde
h: refs/heads/master
v: v3
  • Loading branch information
Nick Piggin authored and Linus Torvalds committed Sep 26, 2006
1 parent fd58a72 commit 7d12aa7
Show file tree
Hide file tree
Showing 2 changed files with 4 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: af5b912435de32fbede08cee949429823ed49781
refs/heads/master: 5081dde33f7a61d28d9b185cc386f12cb837c7a4
3 changes: 3 additions & 0 deletions trunk/mm/oom_kill.c
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,9 @@ static struct task_struct *select_bad_process(unsigned long *ppoints)
unsigned long points;
int releasing;

/* skip kernel threads */
if (!p->mm)
continue;
/* skip the init task with pid == 1 */
if (p->pid == 1)
continue;
Expand Down

0 comments on commit 7d12aa7

Please sign in to comment.