Re: [PATCH v2] workqueue: Kick a worker based on the actual activation of delayed works

2020-11-25 Thread Tejun Heo
On Thu, Nov 19, 2020 at 02:21:25PM +0800, 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_a

Re: [PATCH v2] workqueue: Kick a worker based on the actual activation of delayed works

2020-11-19 Thread Lai Jiangshan
On Thu, Nov 19, 2020 at 2:21 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

[PATCH v2] workqueue: Kick a worker based on the actual activation of delayed works

2020-11-18 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