Re: workqueue: Only kick a worker after thawed or for an unbound workqueue

2020-11-18 Thread Yunfeng Ye
On 2020/11/19 9:58, Lai Jiangshan wrote: > On Wed, Nov 18, 2020 at 5:05 PM Yunfeng Ye wrote: >> >> >> >> On 2020/11/18 14:26, Yunfeng Ye wrote: >>> >>> >>> On 2020/11/18 12:06, Lai Jiangshan wrote: On Tue, Nov 17, 2020 at 3:33 PM Yunfeng Ye wrote: > > In realtime scenario, We do n

Re: workqueue: Only kick a worker after thawed or for an unbound workqueue

2020-11-18 Thread Lai Jiangshan
On Wed, Nov 18, 2020 at 5:05 PM Yunfeng Ye wrote: > > > > On 2020/11/18 14:26, Yunfeng Ye wrote: > > > > > > On 2020/11/18 12:06, Lai Jiangshan wrote: > >> On Tue, Nov 17, 2020 at 3:33 PM Yunfeng Ye wrote: > >>> > >>> In realtime scenario, We do not want to have interference on the > >>> isolated

Re: workqueue: Only kick a worker after thawed or for an unbound workqueue

2020-11-18 Thread Yunfeng Ye
On 2020/11/18 14:26, Yunfeng Ye wrote: > > > On 2020/11/18 12:06, Lai Jiangshan wrote: >> On Tue, Nov 17, 2020 at 3:33 PM Yunfeng Ye wrote: >>> >>> In realtime scenario, We do not want to have interference on the >>> isolated cpu cores. but when invoking alloc_workqueue() for percpu wq >>> on

Re: workqueue: Only kick a worker after thawed or for an unbound workqueue

2020-11-17 Thread Yunfeng Ye
On 2020/11/18 12:06, Lai Jiangshan wrote: > On Tue, Nov 17, 2020 at 3:33 PM Yunfeng Ye wrote: >> >> In realtime scenario, We do not want to have interference on the >> isolated cpu cores. but when invoking alloc_workqueue() for percpu wq >> on the housekeeping cpu, it kick a kworker on the isol

Re: workqueue: Only kick a worker after thawed or for an unbound workqueue

2020-11-17 Thread Lai Jiangshan
On Tue, Nov 17, 2020 at 3:33 PM Yunfeng Ye wrote: > > In realtime scenario, We do not want to have interference on the > isolated cpu cores. but when invoking alloc_workqueue() for percpu wq > on the housekeeping cpu, it kick a kworker on the isolated cpu. > > alloc_workqueue > pwq_adjust_ma

workqueue: Only kick a worker after thawed or for an unbound workqueue

2020-11-16 Thread Yunfeng Ye
In realtime scenario, We do not want to have interference on the isolated cpu cores. but when invoking alloc_workqueue() for percpu wq on the housekeeping cpu, it kick a kworker on the isolated cpu. alloc_workqueue pwq_adjust_max_active wake_up_worker The comment in pwq_adjust_max_act