Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\workqueue.c Create Date:2022-07-28 09:26:27
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:worker_leave_idle - leave idle state*@worker: worker which is leaving idle state*@worker is leaving idle state. Update stats.* LOCKING:* spin_lock_irq(pool->lock).

Proto:static void worker_leave_idle(struct worker *worker)

Type:void

Parameter:

TypeParameterName
struct worker *worker
1802  pool = A: the associated pool
1804  If WARN_ON_ONCE(!(X: flags & WORKER_IDLE)) Then Return
1806  worker_clr_flags - clear worker flags and adjust nr_running accordingly*@worker: self*@flags: flags to clear* Clear @flags in @worker->flags and adjust nr_running accordingly.* CONTEXT:* spin_lock_irq(pool->lock)
1807  L: currently idle workers --
1808  list_del_init - deletes entry from list and reinitialize it.*@entry: the element to delete from the list.
Caller
NameDescribe
worker_thread