Re: [RFC PATCH 0/6] Convert all tasklets to workqueues
From: Oleg Nesterov
Date: Sat Jun 30 2007 - 07:25:55 EST
On 06/29, Oleg Nesterov wrote:
> Suppose we have the tasklets T1 and T2, both are scheduled on the
> same CPU. T1 takes some spinlock LOCK.
> Currently it is possible to do
> With this patch, the above code hangs.
I am stupid. Yes, flush_workqueue() is evil and should not be used, but
if we use workqueues, tasklet_disable() becomes might_sleep() anyway.
This is incompatible and unavoidable change.
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/