Re: [PATCH] block: avoid infinite loop in get_task_io_context()

From: Jens Axboe
Date: Thu May 31 2012 - 06:57:34 EST


On 05/31/2012 12:51 PM, Eric Dumazet wrote:
> On Thu, 2012-05-31 at 12:47 +0200, Jens Axboe wrote:
>> BUG: soft lockup - CPU#3 stuck for 22s ! [mountall.1603]
>>
>> Eric, do you have a task trace to go with this lockup, where task !=
>> current?
>>
>> In any case, it is a legit bug fix. I have applied it.
>>
>
> Unfortunately I couldn't get netconsole working at this stage...
>
> syscall was sys_ioprio_set()

That's good enough, then it all makes sense. I guess we could be
checking PF_EXITING earlier, but I think the patch is fine as-is.

--
Jens Axboe

--
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/