Re: [PATCH RFC] workqueue: remove in_workqueue_context()
From: Tejun Heo
Date: Tue Oct 19 2010 - 05:28:11 EST
On 10/15/2010 04:48 PM, Tejun Heo wrote:
>> I added it for the drivers/vhost changes. They were using a
>> variant of RCU where executing in workqueue context acted as an RCU
>> read-side critical section and where flushing workqueues acted as
>> an RCU grace period. The in_workqueue_context() was then passed to
>> rcu_dereference_check() to verify correct usage.
>>
>> But you are right, I don't see it being used any more, though I do still
>> see the big block comment documenting this in drivers/vhost/vhost.h.
>>
>> Michael, what are Tejun and I missing here?
>
> Ping. Shall I go forward with this patch?
Applied to wq#for-next. Scream if this should be reverted.
Thanks.
--
tejun
--
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/