mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-10-26 10:57:38 +08:00
drain_workqueue() allows only chained work to be queued while draining. This is inconvenient because work can be queued from contexts other than work items already executing on the workqueue. Use flush_workqueue() instead to allow work to be queued from any context. Link: https://lore.kernel.org/r/20261019122555.328060-3-o-takashi@sakamocchi.jp Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>