Skip to contentSkip to conversation

softlockup update for v2.6.33

GIT PULL Ingo Molnar 1 participant 1 message Dec 3, 2009 Hung task detector

lore
Share & tools
lore
#0 lore raw

Linus,

Please pull the latest core-softlockup-for-linus git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git core-softlockup-for-linus

Thanks,

Ingo

------------------>
Anton Blanchard (1):
softlockup: Fix hung_task_check_count sysctl

 kernel/hung_task.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/hung_task.c +1 -1
index d4e8417..0c642d5 100644
@@ -144,7 +144,7 @@ static void check_hung_uninterruptible_tasks(unsigned long timeout)
 
 	rcu_read_lock();
 	do_each_thread(g, t) {
-		if (!--max_count)
+		if (!max_count--)
 			goto unlock;
 		if (!--batch_count) {
 			batch_count = HUNG_TASK_BATCHING;