Re: [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?