|
@@ -21,7 +21,7 @@
|
|
|
* pools for workqueues which are not bound to any specific CPU - the
|
|
|
* number of these backing pools is dynamic.
|
|
|
*
|
|
|
- * Please read Documentation/workqueue.txt for details.
|
|
|
+ * Please read Documentation/core-api/workqueue.rst for details.
|
|
|
*/
|
|
|
|
|
|
#include <linux/export.h>
|
|
@@ -2269,7 +2269,7 @@ sleep:
|
|
|
* event.
|
|
|
*/
|
|
|
worker_enter_idle(worker);
|
|
|
- __set_current_state(TASK_INTERRUPTIBLE);
|
|
|
+ __set_current_state(TASK_IDLE);
|
|
|
spin_unlock_irq(&pool->lock);
|
|
|
schedule();
|
|
|
goto woke_up;
|
|
@@ -2311,7 +2311,7 @@ static int rescuer_thread(void *__rescuer)
|
|
|
*/
|
|
|
rescuer->task->flags |= PF_WQ_WORKER;
|
|
|
repeat:
|
|
|
- set_current_state(TASK_INTERRUPTIBLE);
|
|
|
+ set_current_state(TASK_IDLE);
|
|
|
|
|
|
/*
|
|
|
* By the time the rescuer is requested to stop, the workqueue
|