Skip to content

Commit ccf4515

Browse files
Lai Jiangshanhtejun
authored andcommitted
workqueue: Remove the outdated comment before wq_worker_sleeping()
It isn't called with preempt disabled now. Signed-off-by: Lai Jiangshan <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
1 parent c741e49 commit ccf4515

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

kernel/workqueue.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -878,8 +878,7 @@ void wq_worker_running(struct task_struct *task)
878878
* @task: task going to sleep
879879
*
880880
* This function is called from schedule() when a busy worker is
881-
* going to sleep. Preemption needs to be disabled to protect ->sleeping
882-
* assignment.
881+
* going to sleep.
883882
*/
884883
void wq_worker_sleeping(struct task_struct *task)
885884
{

0 commit comments

Comments
 (0)