Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 109370
b: refs/heads/master
c: cbaed69
h: refs/heads/master
v: v3
  • Loading branch information
Oleg Nesterov authored and Linus Torvalds committed Sep 2, 2008
1 parent 2168cdd commit 3864f84
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6781f4ae30bbb8ebf31187b3c9304be16966f5a0
refs/heads/master: cbaed698f37494b30b2449b51c728ae48630cb2b
7 changes: 2 additions & 5 deletions trunk/kernel/softlockup.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,10 +180,6 @@ static void check_hung_task(struct task_struct *t, unsigned long now)
if (t->flags & PF_FROZEN)
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) {
t->last_switch_count = switch_count;
t->last_switch_timestamp = now;
Expand Down Expand Up @@ -237,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:
Expand Down

0 comments on commit 3864f84

Please sign in to comment.