lkml.org 
[lkml]   [2012]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 6/7] workqueue: init 0 for idle_rebind.cnt
On Tue, Aug 28, 2012 at 01:58:26AM +0800, Lai Jiangshan wrote:
> Access idle_rebind.cnt is always protected by gcwq->lock,
> don't need to init it as 1.

But then the completion could be triggered prematurely, no?

Thanks.

--
tejun


\
 
 \ /
  Last update: 2012-08-27 22:21    [W:0.128 / U:0.456 seconds]
©2003-2014 Jasper Spaans. Advertise on this site