QUEUE_WORK_ON(9) Driver Basics QUEUE_WORK_ON(9)NAMEqueue_work_on - queue work on specific cpu
SYNOPSIS
int queue_work_on(int cpu, struct workqueue_struct * wq,
struct work_struct * work);
ARGUMENTS
cpu
CPU number to execute work on
wq
workqueue to use
work
work to queue
DESCRIPTION
Returns 0 if work was already on a queue, non-zero otherwise.
We queue the work to a specific CPU, the caller must ensure it canĀ“t go
away.
COPYRIGHTKernel Hackers Manual 2.6. November 2013 QUEUE_WORK_ON(9)