Function report |
Source Code:block\blk-cgroup.c |
Create Date:2022-07-28 17:40:58 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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()
Proto:void blkcg_maybe_throttle_current(void)
Type:void
Parameter:Nothing
1623 | q = throttle_queue |
1627 | use_memdelay = use_memdelay |
1629 | If Not q Then Return |
1632 | throttle_queue = NULL |
1633 | use_memdelay = false |
1636 | css = kthread_blkcg - get associated blkcg css of current kthread* Current thread must be a kthread. |
1637 | If css Then blkcg = css_to_blkcg(css) |
1639 | Else blkcg = css_to_blkcg(ask_css - obtain css for (task, subsys)*@task: the target task*@subsys_id: the target subsystem ID* See task_css_check().) |
1653 | blk_put_queue(q) |
1654 | Return |
1655 | out : |
1657 | blk_put_queue(q) |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |