Safely terminate a workqueue
void destroy_workqueue(struct workqueue_struct * wq);
wq
target workqueue
Safely destroy a workqueue. All work currently pending will be done first.