Re: [PATCH 2/6] workqueue: factor out worker_pool from global_cwq

2012-07-12 Thread Tejun Heo
Hello, Namhyung. Sorry about the delay. On Tue, Jul 10, 2012 at 01:48:44PM +0900, Namhyung Kim wrote: > > + struct list_headidle_list; /* X: list of idle workers */ > > + struct timer_list idle_timer; /* L: worker idle timeout */ > > + struct timer_list mayday_t

Re: [PATCH 2/6] workqueue: factor out worker_pool from global_cwq

2012-07-09 Thread Namhyung Kim
Hi, Tejun Just nitpicks.. On Mon, 9 Jul 2012 11:41:51 -0700, Tejun Heo wrote: > Move worklist and all worker management fields from global_cwq into > the new struct worker_pool. worker_pool points back to the containing > gcwq. worker and cpu_workqueue_struct are updated to point to > worker_

[PATCH 2/6] workqueue: factor out worker_pool from global_cwq

2012-07-09 Thread Tejun Heo
Move worklist and all worker management fields from global_cwq into the new struct worker_pool. worker_pool points back to the containing gcwq. worker and cpu_workqueue_struct are updated to point to worker_pool instead of gcwq too. This change is mechanical and doesn't introduce any functional