diff options
Diffstat (limited to 'mm/oom_kill.c')
-rw-r--r-- | mm/oom_kill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/oom_kill.c b/mm/oom_kill.c index a7b2460e922b..da4c342f2641 100644 --- a/mm/oom_kill.c +++ b/mm/oom_kill.c | |||
@@ -79,7 +79,7 @@ unsigned long badness(struct task_struct *p, unsigned long uptime) | |||
79 | /* | 79 | /* |
80 | * swapoff can easily use up all memory, so kill those first. | 80 | * swapoff can easily use up all memory, so kill those first. |
81 | */ | 81 | */ |
82 | if (p->flags & PF_SWAPOFF) | 82 | if (p->flags & PF_OOM_ORIGIN) |
83 | return ULONG_MAX; | 83 | return ULONG_MAX; |
84 | 84 | ||
85 | /* | 85 | /* |