Re: [PATCH v2 2/6] workqueue: correct req_cpu in trace_workqueue_queue_work()

2012-08-14 Thread JoonSoo Kim
2012/8/15 Tejun Heo : > Hello, > > On Wed, Aug 15, 2012 at 03:10:12AM +0900, Joonsoo Kim wrote: >> When we do tracing workqueue_queue_work(), it records requested cpu. >> But, if !(@wq->flag & WQ_UNBOUND) and @cpu is WORK_CPU_UNBOUND, >> requested cpu is changed as local cpu. >> In case of

Re: [PATCH v2 2/6] workqueue: correct req_cpu in trace_workqueue_queue_work()

2012-08-14 Thread Tejun Heo
Hello, On Wed, Aug 15, 2012 at 03:10:12AM +0900, Joonsoo Kim wrote: > When we do tracing workqueue_queue_work(), it records requested cpu. > But, if !(@wq->flag & WQ_UNBOUND) and @cpu is WORK_CPU_UNBOUND, > requested cpu is changed as local cpu. > In case of @wq->flag & WQ_UNBOUND, above change

[PATCH v2 2/6] workqueue: correct req_cpu in trace_workqueue_queue_work()

2012-08-14 Thread Joonsoo Kim
When we do tracing workqueue_queue_work(), it records requested cpu. But, if !(@wq->flag & WQ_UNBOUND) and @cpu is WORK_CPU_UNBOUND, requested cpu is changed as local cpu. In case of @wq->flag & WQ_UNBOUND, above change is not occured, therefore it is reasonable to correct it. Use temporary local

[PATCH v2 2/6] workqueue: correct req_cpu in trace_workqueue_queue_work()

2012-08-14 Thread Joonsoo Kim
When we do tracing workqueue_queue_work(), it records requested cpu. But, if !(@wq-flag WQ_UNBOUND) and @cpu is WORK_CPU_UNBOUND, requested cpu is changed as local cpu. In case of @wq-flag WQ_UNBOUND, above change is not occured, therefore it is reasonable to correct it. Use temporary local

Re: [PATCH v2 2/6] workqueue: correct req_cpu in trace_workqueue_queue_work()

2012-08-14 Thread Tejun Heo
Hello, On Wed, Aug 15, 2012 at 03:10:12AM +0900, Joonsoo Kim wrote: When we do tracing workqueue_queue_work(), it records requested cpu. But, if !(@wq-flag WQ_UNBOUND) and @cpu is WORK_CPU_UNBOUND, requested cpu is changed as local cpu. In case of @wq-flag WQ_UNBOUND, above change is not

Re: [PATCH v2 2/6] workqueue: correct req_cpu in trace_workqueue_queue_work()

2012-08-14 Thread JoonSoo Kim
2012/8/15 Tejun Heo t...@kernel.org: Hello, On Wed, Aug 15, 2012 at 03:10:12AM +0900, Joonsoo Kim wrote: When we do tracing workqueue_queue_work(), it records requested cpu. But, if !(@wq-flag WQ_UNBOUND) and @cpu is WORK_CPU_UNBOUND, requested cpu is changed as local cpu. In case of