diff options
| author | Yunfeng Ye <[email protected]> | 2020-11-19 06:21:25 +0000 |
|---|---|---|
| committer | Tejun Heo <[email protected]> | 2020-11-25 22:10:28 +0000 |
| commit | 01341fbd0d8d4e717fc1231cdffe00343088ce0b (patch) | |
| tree | ff3811c2c56f56b94ec7687bf943454112591fda /scripts/gcc-plugins/structleak_plugin.c | |
| parent | Merge tag '5.10-rc5-smb3-fixes' of git://git.samba.org/sfrench/cifs-2.6 (diff) | |
| download | kernel-01341fbd0d8d4e717fc1231cdffe00343088ce0b.tar.gz kernel-01341fbd0d8d4e717fc1231cdffe00343088ce0b.zip | |
workqueue: Kick a worker based on the actual activation of delayed works
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_active() said:
"Need to kick a worker after thawed or an unbound wq's
max_active is bumped"
So it is unnecessary to kick a kworker for percpu's wq when invoking
alloc_workqueue(). this patch only kick a worker based on the actual
activation of delayed works.
Signed-off-by: Yunfeng Ye <[email protected]>
Reviewed-by: Lai Jiangshan <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/structleak_plugin.c')
0 files changed, 0 insertions, 0 deletions
