diff options
Diffstat (limited to 'kernel/workqueue.c')
-rw-r--r-- | kernel/workqueue.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c index ca937b0c3a96..a44ef675fd3a 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c | |||
@@ -21,7 +21,7 @@ | |||
21 | * pools for workqueues which are not bound to any specific CPU - the | 21 | * pools for workqueues which are not bound to any specific CPU - the |
22 | * number of these backing pools is dynamic. | 22 | * number of these backing pools is dynamic. |
23 | * | 23 | * |
24 | * Please read Documentation/workqueue.txt for details. | 24 | * Please read Documentation/core-api/workqueue.rst for details. |
25 | */ | 25 | */ |
26 | 26 | ||
27 | #include <linux/export.h> | 27 | #include <linux/export.h> |
@@ -2247,7 +2247,7 @@ sleep: | |||
2247 | * event. | 2247 | * event. |
2248 | */ | 2248 | */ |
2249 | worker_enter_idle(worker); | 2249 | worker_enter_idle(worker); |
2250 | __set_current_state(TASK_INTERRUPTIBLE); | 2250 | __set_current_state(TASK_IDLE); |
2251 | spin_unlock_irq(&pool->lock); | 2251 | spin_unlock_irq(&pool->lock); |
2252 | schedule(); | 2252 | schedule(); |
2253 | goto woke_up; | 2253 | goto woke_up; |
@@ -2289,7 +2289,7 @@ static int rescuer_thread(void *__rescuer) | |||
2289 | */ | 2289 | */ |
2290 | rescuer->task->flags |= PF_WQ_WORKER; | 2290 | rescuer->task->flags |= PF_WQ_WORKER; |
2291 | repeat: | 2291 | repeat: |
2292 | set_current_state(TASK_INTERRUPTIBLE); | 2292 | set_current_state(TASK_IDLE); |
2293 | 2293 | ||
2294 | /* | 2294 | /* |
2295 | * By the time the rescuer is requested to stop, the workqueue | 2295 | * By the time the rescuer is requested to stop, the workqueue |