QUEUE_WORK(9) Driver Basics QUEUE_WORK(9)NAMEqueue_work - queue work on a workqueue
SYNOPSIS
int queue_work(struct workqueue_struct * wq,
struct work_struct * work);
ARGUMENTS
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 the CPU on which it was submitted, but if the CPU
dies it can be processed by another CPU.
COPYRIGHTKernel Hackers Manual 2.6. November 2013 QUEUE_WORK(9)