X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=kernel%2Fsoftlockup.c;h=cb838ee93a82000bc5b313271487836e9fb5804e;hb=HEAD;hp=b75b492fbfcff63770bc099df2a7769fc1e26f09;hpb=375614422509c98a1f3dbef410206bf81775169b;p=linux-2.6 diff --git a/kernel/softlockup.c b/kernel/softlockup.c index b75b492fbf..cb838ee93a 100644 --- a/kernel/softlockup.c +++ b/kernel/softlockup.c @@ -233,7 +233,8 @@ static void check_hung_uninterruptible_tasks(int this_cpu) do_each_thread(g, t) { if (!--max_count) goto unlock; - if (t->state & TASK_UNINTERRUPTIBLE) + /* use "==" to skip the TASK_KILLABLE tasks waiting on NFS */ + if (t->state == TASK_UNINTERRUPTIBLE) check_hung_task(t, now); } while_each_thread(g, t); unlock: