函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\workqueue.c Create Date:2022-07-27 10:26:56
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:pool_mayday_timeout

函数原型:static void pool_mayday_timeout(struct timer_list *t)

返回类型:void

参数:

类型参数名称
struct timer_list *t
2031  pool等于from_timer(pool, t, mayday_timer)
2034  spin_lock_irq( & he pool lock )
2035  加自旋锁
2037  如果Do we need a new worker? Called from manager.
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  自旋锁解锁
2049  spin_unlock_irq( & he pool lock )
2051  mod_timer( & L: SOS timer for workers , jiffies + MAYDAY_INTERVAL)