lkml.org 
[lkml]   [2010]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH RFC] workqueue: remove in_workqueue_context()
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


\
 
 \ /
  Last update: 2010-10-19 11:31    [W:0.057 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site