aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/softlockup.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/softlockup.c b/kernel/softlockup.c
index b75b492fbfcf..1a07f8ca4b92 100644
--- a/kernel/softlockup.c
+++ b/kernel/softlockup.c
@@ -180,6 +180,10 @@ static void check_hung_task(struct task_struct *t, unsigned long now)
180 if (t->flags & PF_FROZEN) 180 if (t->flags & PF_FROZEN)
181 return; 181 return;
182 182
183 /* Don't check for tasks waiting on network file systems like NFS */
184 if (t->state & TASK_KILLABLE)
185 return;
186
183 if (switch_count != t->last_switch_count || !t->last_switch_timestamp) { 187 if (switch_count != t->last_switch_count || !t->last_switch_timestamp) {
184 t->last_switch_count = switch_count; 188 t->last_switch_count = switch_count;
185 t->last_switch_timestamp = now; 189 t->last_switch_timestamp = now;