1FLUSH_WORK(9) Driver Basics FLUSH_WORK(9)
2
3
4
6 flush_work - wait for a work to finish executing the last queueing
7 instance
8
10 bool flush_work(struct work_struct * work);
11
13 work
14 the work to flush
15
17 Wait until work has finished execution. work is guaranteed to be idle
18 on return if it hasn't been requeued since flush started.
19
21 true if flush_work waited for the work to finish execution, false if it
22 was already idle.
23
25Kernel Hackers Manual 3.10 June 2019 FLUSH_WORK(9)