Re: [PATCH 1/4] workqueue: introduce get_pwq_unlocked()

2015-06-03 Thread Tejun Heo
Hello, On Wed, Jun 03, 2015 at 10:29:49PM +0800, Lai Jiangshan wrote: > attrs management code may reuse existed pwq and it has open code existing > to do "lock();get_pwq();unlock()", we move this open code into > get_pwq_unlocked(). > > get_pwq_unlocked() will

[PATCH 1/4] workqueue: introduce get_pwq_unlocked()

2015-06-03 Thread Lai Jiangshan
attrs management code may reuse existed pwq and it has open code to do "lock();get_pwq();unlock()", we move this open code into get_pwq_unlocked(). get_pwq_unlocked() will also be used in later patches to allow apply_wqattrs_prepare() to resue the original default or per-node pwq. Signed-off-by: