1QUEUE_WORK_ON(9) Driver Basics QUEUE_WORK_ON(9)
2
3
4
6 queue_work_on - queue work on specific cpu
7
9 int queue_work_on(int cpu, struct workqueue_struct * wq,
10 struct work_struct * work);
11
13 cpu
14 CPU number to execute work on
15
16 wq
17 workqueue to use
18
19 work
20 work to queue
21
23 Returns 0 if work was already on a queue, non-zero otherwise.
24
25 We queue the work to a specific CPU, the caller must ensure it canĀ“t go
26 away.
27
29Kernel Hackers Manual 2.6. June 2019 QUEUE_WORK_ON(9)