Currently CPU_DEAD uses kthread_stop() to stop cwq->thread and then
transfers cwq->worklist to another CPU. However, it is very unlikely
that worker_thread() will notice kthread_should_stop() before flushing
cwq->worklist. It is only possible if worker_thread() was preempted
after
Currently CPU_DEAD uses kthread_stop() to stop cwq-thread and then
transfers cwq-worklist to another CPU. However, it is very unlikely
that worker_thread() will notice kthread_should_stop() before flushing
cwq-worklist. It is only possible if worker_thread() was preempted
after run_workqueue(cwq),
2 matches
Mail list logo