• T
    workqueue: introduce worker · c34056a3
    Tejun Heo 提交于
    Separate out worker thread related information to struct worker from
    struct cpu_workqueue_struct and implement helper functions to deal
    with the new struct worker.  The only change which is visible outside
    is that now workqueue worker are all named "kworker/CPUID:WORKERID"
    where WORKERID is allocated from per-cpu ida.
    
    This is in preparation of concurrency managed workqueue where shared
    multiple workers would be available per cpu.
    Signed-off-by: NTejun Heo <tj@kernel.org>
    c34056a3
workqueue.c 39.5 KB