Function report |
Source Code:kernel\cgroup\cpuset.c |
Create Date:2022-07-28 11:16:01 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Retrieve the cpuset for a task
Proto:static inline struct cpuset *task_cs(struct task_struct *task)
Type:struct cpuset
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | task |
200 | Return css_cs(ask_css - obtain css for (task, subsys)*@task: the target task*@subsys_id: the target subsystem ID* See task_css_check().) |
Name | Describe |
---|---|
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 |
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 |