Messages in this thread Patch in this message | | | From | Lai Jiangshan <> | Subject | [PATCH 1/7] workqueue: Remove the outdated comment before wq_worker_sleeping() | Date | Tue, 7 Dec 2021 15:35:37 +0800 |
| |
From: Lai Jiangshan <laijs@linux.alibaba.com>
It isn't called with preempt disabled now.
Signed-off-by: Lai Jiangshan <laijs@linux.alibaba.com> --- kernel/workqueue.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 5557d19ea81c..312b806b3956 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -887,8 +887,7 @@ void wq_worker_running(struct task_struct *task) * @task: task going to sleep * * This function is called from schedule() when a busy worker is - * going to sleep. Preemption needs to be disabled to protect ->sleeping - * assignment. + * going to sleep. */ void wq_worker_sleeping(struct task_struct *task) { -- 2.19.1.6.gb485710b
| |