Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\tracehook.h Create Date:2022-07-28 07:30:09
Last Modify:2020-03-16 18:56:00 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:set_notify_resume - cause tracehook_notify_resume() to be called*@task: task that will call tracehook_notify_resume()* Calling this arranges that @task will call tracehook_notify_resume()* before returning to user mode

Proto:static inline void set_notify_resume(struct task_struct *task)

Type:void

Parameter:

TypeParameterName
struct task_struct *task
161  If Not test_and_set_tsk_thread_flag(task, callback before returning to user ) Then kick_process(task)
Caller
NameDescribe
task_work_addask_work_add - ask the @task to execute @work->func()*@task: the task which should run the callback*@work: the callback to run*@notify: send the notification if true* Queue @work for task_work_run() below and notify the @task if @notify.
try_charge
blkcg_schedule_throttlelkcg_schedule_throttle - this task needs to check for throttling*@q: the request queue IO was submitted on*@use_memdelay: do we charge this to memory delay for PSI* This is called by the IO controller when we know there's delay accumulated