函数逻辑报告 |
Source Code:block\blk-cgroup.c |
Create Date:2022-07-27 19:16:29 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:This is called when we want to actually walk up the hierarchy and check to* see if we need to throttle, and then actually throttle if there is some* accumulated delay. This should only be called upon return to user space so
函数原型:static void blkcg_maybe_throttle_blkg(struct blkcg_gq *blkg, bool use_memdelay)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct blkcg_gq * | blkg | |
bool | use_memdelay |
1571 | delay_nsec等于0 |
1575 | 如果atomic_read( & use_delay)则 |
1583 | 如果非delay_nsec则返回 |
1593 | delay_nsec等于min_t - return minimum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(u64, delay_nsec, 250 * NSEC_PER_MSEC) |
1599 | tok等于io_schedule_prepare() |
1600 | 循环 |
1604 | 当非fatal_signal_pending(当前进程)循环 |
1605 | io_schedule_finish(tok) |
1607 | 如果use_memdelay则psi_memstall_leave - mark the end of an memory stall section*@flags: flags to handle nested memdelay sections* Marks the calling task as no longer stalled due to lack of memory. |
名称 | 描述 |
---|---|
blkcg_maybe_throttle_current | lkcg_maybe_throttle_current - throttle the current task if it has been marked* This is only called if we've been marked with set_notify_resume() |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |