lkml.org 
[lkml]   [2013]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 12/13] workqueue: add worker's global worker ID
On Fri, Feb 01, 2013 at 02:41:35AM +0800, Lai Jiangshan wrote:
> Add worker->gwid which is allocated from worker_idr. This
> will be used to record the last running worker in work->data.

worker->id is almost completely cosmetic at this point. Maybe we want
to rename it to something, say, worker->id_in_pool and use worker->id
for the global id?

Thanks.

--
tejun


\
 
 \ /
  Last update: 2013-02-04 23:24    [W:0.238 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site