The number of work entries will be inconsistent with semaphore count if the work is canceled, in extreme case, semaphore count will overflow and fallback to 0 the workqueue will stop scheduling the enqueue work. Signed-off-by: chao an <anchao@xiaomi.com> |
||
|---|---|---|
| .. | ||
| kwork_cancel.c | ||
| kwork_inherit.c | ||
| kwork_notifier.c | ||
| kwork_queue.c | ||
| kwork_thread.c | ||
| Make.defs | ||
| wqueue.h | ||