函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\tracehook.h Create Date:2022-07-27 08:29:24
Last Modify:2020-03-16 18:56:00 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:static inline void set_notify_resume(struct task_struct *task)

返回类型:void

参数:

类型参数名称
struct task_struct *task
161  如果非test_and_set_tsk_thread_flag(task, callback before returning to user )则kick_process(task)
调用者
名称描述
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