mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-30 19:15:14 +00:00
workqueue: Remove the outdated comment before wq_worker_sleeping()
It isn't called with preempt disabled now. Signed-off-by: Lai Jiangshan <laijs@linux.alibaba.com> Signed-off-by: Tejun Heo <tj@kernel.org>
This commit is contained in:
parent
c741e49150
commit
ccf45156fd
1 changed files with 1 additions and 2 deletions
|
@ -878,8 +878,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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue