最近在使用Linux内核的工作队列时,我发现了一些我不确定的东西(“CPU dies”),即使我谷歌了一下也没有找到答案。
这是特定的CPU核心当前不可用还是类似的意思吗?
以下是我所询问问题的上下文(完整版本):
/**
* queue_work - queue work on a workqueue
* @wq: workqueue to use
* @work: work to queue
*
* Returns %false if @work was already on a queue, %true otherwise.
*
* We queue the work to the CPU on which it was submitted, but if the CPU dies
* it can be processed by another CPU.
*/
static inline bool queue_work(struct workqueue_struct *wq,
struct work_struct *work)
{
return queue_work_on(WORK_CPU_UNBOUND, wq, work);
}