|
@@ -180,6 +180,10 @@ static void check_hung_task(struct task_struct *t, unsigned long now)
|
|
if (t->flags & PF_FROZEN)
|
|
if (t->flags & PF_FROZEN)
|
|
return;
|
|
return;
|
|
|
|
|
|
|
|
+ /* Don't check for tasks waiting on network file systems like NFS */
|
|
|
|
+ if (t->state & TASK_KILLABLE)
|
|
|
|
+ return;
|
|
|
|
+
|
|
if (switch_count != t->last_switch_count || !t->last_switch_timestamp) {
|
|
if (switch_count != t->last_switch_count || !t->last_switch_timestamp) {
|
|
t->last_switch_count = switch_count;
|
|
t->last_switch_count = switch_count;
|
|
t->last_switch_timestamp = now;
|
|
t->last_switch_timestamp = now;
|