diff options
Diffstat (limited to 'kernel/workqueue.c')
-rw-r--r-- | kernel/workqueue.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 7abbeed13421..8ea9e4fb8cc6 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c | |||
@@ -2277,7 +2277,7 @@ __acquires(&pool->lock) | |||
2277 | 2277 | ||
2278 | if (unlikely(in_atomic() || lockdep_depth(current) > 0)) { | 2278 | if (unlikely(in_atomic() || lockdep_depth(current) > 0)) { |
2279 | pr_err("BUG: workqueue leaked lock or atomic: %s/0x%08x/%d\n" | 2279 | pr_err("BUG: workqueue leaked lock or atomic: %s/0x%08x/%d\n" |
2280 | " last function: %pf\n", | 2280 | " last function: %ps\n", |
2281 | current->comm, preempt_count(), task_pid_nr(current), | 2281 | current->comm, preempt_count(), task_pid_nr(current), |
2282 | worker->current_func); | 2282 | worker->current_func); |
2283 | debug_show_held_locks(current); | 2283 | debug_show_held_locks(current); |
@@ -2596,11 +2596,11 @@ static void check_flush_dependency(struct workqueue_struct *target_wq, | |||
2596 | worker = current_wq_worker(); | 2596 | worker = current_wq_worker(); |
2597 | 2597 | ||
2598 | WARN_ONCE(current->flags & PF_MEMALLOC, | 2598 | WARN_ONCE(current->flags & PF_MEMALLOC, |
2599 | "workqueue: PF_MEMALLOC task %d(%s) is flushing !WQ_MEM_RECLAIM %s:%pf", | 2599 | "workqueue: PF_MEMALLOC task %d(%s) is flushing !WQ_MEM_RECLAIM %s:%ps", |
2600 | current->pid, current->comm, target_wq->name, target_func); | 2600 | current->pid, current->comm, target_wq->name, target_func); |
2601 | WARN_ONCE(worker && ((worker->current_pwq->wq->flags & | 2601 | WARN_ONCE(worker && ((worker->current_pwq->wq->flags & |
2602 | (WQ_MEM_RECLAIM | __WQ_LEGACY)) == WQ_MEM_RECLAIM), | 2602 | (WQ_MEM_RECLAIM | __WQ_LEGACY)) == WQ_MEM_RECLAIM), |
2603 | "workqueue: WQ_MEM_RECLAIM %s:%pf is flushing !WQ_MEM_RECLAIM %s:%pf", | 2603 | "workqueue: WQ_MEM_RECLAIM %s:%ps is flushing !WQ_MEM_RECLAIM %s:%ps", |
2604 | worker->current_pwq->wq->name, worker->current_func, | 2604 | worker->current_pwq->wq->name, worker->current_func, |
2605 | target_wq->name, target_func); | 2605 | target_wq->name, target_func); |
2606 | } | 2606 | } |
@@ -4582,7 +4582,7 @@ void print_worker_info(const char *log_lvl, struct task_struct *task) | |||
4582 | probe_kernel_read(desc, worker->desc, sizeof(desc) - 1); | 4582 | probe_kernel_read(desc, worker->desc, sizeof(desc) - 1); |
4583 | 4583 | ||
4584 | if (fn || name[0] || desc[0]) { | 4584 | if (fn || name[0] || desc[0]) { |
4585 | printk("%sWorkqueue: %s %pf", log_lvl, name, fn); | 4585 | printk("%sWorkqueue: %s %ps", log_lvl, name, fn); |
4586 | if (strcmp(name, desc)) | 4586 | if (strcmp(name, desc)) |
4587 | pr_cont(" (%s)", desc); | 4587 | pr_cont(" (%s)", desc); |
4588 | pr_cont("\n"); | 4588 | pr_cont("\n"); |
@@ -4607,7 +4607,7 @@ static void pr_cont_work(bool comma, struct work_struct *work) | |||
4607 | pr_cont("%s BAR(%d)", comma ? "," : "", | 4607 | pr_cont("%s BAR(%d)", comma ? "," : "", |
4608 | task_pid_nr(barr->task)); | 4608 | task_pid_nr(barr->task)); |
4609 | } else { | 4609 | } else { |
4610 | pr_cont("%s %pf", comma ? "," : "", work->func); | 4610 | pr_cont("%s %ps", comma ? "," : "", work->func); |
4611 | } | 4611 | } |
4612 | } | 4612 | } |
4613 | 4613 | ||
@@ -4639,7 +4639,7 @@ static void show_pwq(struct pool_workqueue *pwq) | |||
4639 | if (worker->current_pwq != pwq) | 4639 | if (worker->current_pwq != pwq) |
4640 | continue; | 4640 | continue; |
4641 | 4641 | ||
4642 | pr_cont("%s %d%s:%pf", comma ? "," : "", | 4642 | pr_cont("%s %d%s:%ps", comma ? "," : "", |
4643 | task_pid_nr(worker->task), | 4643 | task_pid_nr(worker->task), |
4644 | worker == pwq->wq->rescuer ? "(RESCUER)" : "", | 4644 | worker == pwq->wq->rescuer ? "(RESCUER)" : "", |
4645 | worker->current_func); | 4645 | worker->current_func); |