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 91a081a82f55..96473b482099 100644 --- a/mm/oom_kill.c +++ b/mm/oom_kill.c | |||
@@ -286,7 +286,7 @@ static void __oom_kill_task(struct task_struct *p, int verbose) | |||
286 | * all the memory it needs. That way it should be able to | 286 | * all the memory it needs. That way it should be able to |
287 | * exit() and clear out its resources quickly... | 287 | * exit() and clear out its resources quickly... |
288 | */ | 288 | */ |
289 | p->time_slice = HZ; | 289 | p->rt.time_slice = HZ; |
290 | set_tsk_thread_flag(p, TIF_MEMDIE); | 290 | set_tsk_thread_flag(p, TIF_MEMDIE); |
291 | 291 | ||
292 | force_sig(SIGKILL, p); | 292 | force_sig(SIGKILL, p); |