Re: [PATCH] softlockup: minor cleanup, don't check task->state twice

From: Andi Kleen
Date: Mon Sep 01 2008 - 04:43:38 EST


Oleg Nesterov wrote:

Hi Oleg,

The recent commit 16d9679f33caf7e683471647d1472bfe133d858 changed
check_hung_task() to filter out the TASK_KILLABLE tasks. We can
move this check to the caller which has to test t->state anyway.

Yes makes sense to do it this way. Thanks.

-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/