函数逻辑报告 |
Source Code:kernel\cgroup\cpuset.c |
Create Date:2022-07-27 12:18:21 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Retrieve the cpuset for a task
函数原型:static inline struct cpuset *task_cs(struct task_struct *task)
返回类型:struct cpuset
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | task |
名称 | 描述 |
---|---|
current_cpuset_is_being_rebound | |
cpuset_can_attach | Called by cgroups to determine if a cpuset is usable; cpuset_mutex held |
cpuset_cpus_allowed | puset_cpus_allowed - return cpus_allowed mask from a tasks cpuset |
cpuset_cpus_allowed_fallback | puset_cpus_allowed_fallback - final fallback before complete catastrophe |
cpuset_mems_allowed | puset_mems_allowed - return mems_allowed mask from a tasks cpuset.*@tsk: pointer to task_struct from which to obtain cpuset->mems_allowed.* Description: Returns the nodemask_t mems_allowed of the cpuset* attached to the specified @tsk |
__cpuset_node_allowed | puset_node_allowed - Can we allocate on a memory node?*@node: is this an allowed node?*@gfp_mask: memory allocation flags* If we're in interrupt, yes, we can always allocate. If @node is set in* current's mems_allowed, yes |
cpuset_print_current_mems_allowed | puset_print_current_mems_allowed - prints current's cpuset and mems_allowed* Description: Prints current's name, cpuset name, and cached copy of its* mems_allowed to the kernel log. |
__cpuset_memory_pressure_bump | puset_memory_pressure_bump - keep stats of per-cpuset reclaims |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |