Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:send_mayday

Proto:static void send_mayday(struct work_struct *work)

Type:void

Parameter:

TypeParameterName
struct work_struct *work
2008  pwq = get_work_pwq(work)
2009  wq = I: the owning workqueue
2011  lockdep_assert_held( & wq_mayday_lock)
2013  If Not MD: rescue worker Then Return
2017  If list_empty - tests whether a list is empty*@head: the list to test. Then
2023  get_pwq - get an extra reference on the specified pool_workqueue*@pwq: pool_workqueue to get* Obtain an extra reference on @pwq. The caller should guarantee that*@pwq has positive refcnt and be holding the matching pool->lock.
2024  list_add_tail - add a new entry*@new: new entry to be added*@head: list head to add it before* Insert a new entry before the specified head.* This is useful for implementing queues.
2025  wake_up_process(I: worker task )
Caller
NameDescribe
pool_mayday_timeout