Re: [PATCH wq/for-3.9] workqueue: move nr_running into worker_pool

2013-02-07 Thread Tejun Heo
On Thu, Jan 24, 2013 at 11:39:44AM -0800, Tejun Heo wrote: > As nr_running is likely to be accessed from other CPUs during > try_to_wake_up(), it was kept outside worker_pool; however, while less > frequent, other fields in worker_pool are accessed from other CPUs > for, e.g., non-reentrancy check.

[PATCH wq/for-3.9] workqueue: move nr_running into worker_pool

2013-01-24 Thread Tejun Heo
As nr_running is likely to be accessed from other CPUs during try_to_wake_up(), it was kept outside worker_pool; however, while less frequent, other fields in worker_pool are accessed from other CPUs for, e.g., non-reentrancy check. Also, with recent pool related changes, accessing nr_running matc