X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=mm%2Foom_kill.c;h=ac3bf33e53701171bcf4b5f6ba8b1817bdac60f5;hb=d67eb16f5d444fb6d173bcec889ddb2066c0fa0c;hp=5ec8da12cfd986523bb1968ffa9f2ea0be064868;hpb=55faed1e607a24ca7f3453a3eb463ca8987f8139;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); }