X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=mm%2Foom_kill.c;h=ac3bf33e53701171bcf4b5f6ba8b1817bdac60f5;hb=2b8dfec8c8fa4ba5bc946a602e94e99861462cad;hp=5ec8da12cfd986523bb1968ffa9f2ea0be064868;hpb=24c83d45d76303db8325b8553a05c69c838ef370;p=linux-2.6 diff --git a/mm/oom_kill.c b/mm/oom_kill.c index 5ec8da12cf..ac3bf33e53 100644 --- a/mm/oom_kill.c +++ b/mm/oom_kill.c @@ -300,6 +300,5 @@ retry: * Give "p" a good chance of killing itself before we * retry to allocate memory. */ - __set_current_state(TASK_INTERRUPTIBLE); - schedule_timeout(1); + schedule_timeout_interruptible(1); }