Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:pool_mayday_timeout

Proto:static void pool_mayday_timeout(struct timer_list *t)

Type:void

Parameter:

TypeParameterName
struct timer_list *t
2031  pool = from_timer(pool, t, mayday_timer)
2034  spin_lock_irq( & he pool lock )
2035  spin_lock( & wq_mayday_lock)
2037  If Do we need a new worker? Called from manager. Then
2044  list_for_each_entry - iterate over list of given type*@pos: the type * to use as a loop cursor.*@head: the head for your list.*@member: the name of the list_head within the struct.(work, & L: list of pending works , entry)
2045  send_mayday(work)
2048  spin_unlock( & wq_mayday_lock)
2049  spin_unlock_irq( & he pool lock )
2051  mod_timer( & L: SOS timer for workers , jiffies + MAYDAY_INTERVAL)