函数逻辑报告 |
Source Code:include\linux\sched.h |
Create Date:2022-07-27 06:58:34 |
Last Modify:2021-07-28 10:30:23 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:set_cpus_allowed_ptr
函数原型:static inline int set_cpus_allowed_ptr(struct task_struct *p, const struct cpumask *new_mask)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | p | |
const struct cpumask * | new_mask |
1602 | 返回:0 |
名称 | 描述 |
---|---|
test_func | |
apm_power_off | apm_power_off - ask the BIOS to power off* Handle the power off sequence |
apm | |
worker_attach_to_pool | worker_attach_to_pool() - attach a worker to a pool*@worker: worker to be attached*@pool: the target pool* Attach @worker to @pool. Once attached, the %WORKER_UNBOUND flag and* cpu-binding of @worker are kept coordinated with the pool across |
__kthread_create_on_node | |
kthreadd | |
migrate_to_reboot_cpu | |
__set_cpus_allowed_ptr | |
housekeeping_affine | |
rcu_perf_reader | RCU perf reader kthread. Repeatedly does empty RCU read-side* critical section, minimizing update-side interference. |
rcu_perf_writer | RCU perf writer kthread. Repeatedly does a grace period. |
update_tasks_cpumask | pdate_tasks_cpumask - Update the cpumasks of tasks in the cpuset.*@cs: the cpuset in which each task's cpus_allowed mask needs to be changed* Iterate through each task of @cs updating its cpus_allowed to the* effective cpuset's |
cpuset_attach | |
cpuset_fork | Make sure the new task conform to the current state of its parent,* which could have been changed by cpuset just after it inherits the* state from the parent and before it sits on the cgroup's task list. |
torture_shuffle_tasks | Shuffle tasks such that we allow shuffle_idle_cpu to become idle.* A special case is when shuffle_idle_cpu = -1, in which case we allow* the tasks to run on all CPUs. |
rest_init | 剩余初始化 |
kswapd | The background pageout daemon, started as a kernel thread* from the init process.* This basically trickles out pages so that we have _some_* free memory available even if there is no other activity* that frees anything up |
kswapd_cpu_online | It's optimal to keep kswapds on the same CPUs as their memory, butnot required for correctness. So if the last cpu in a node goesaway, we get changed to run anywhere: as the first one comes back,restore their cpu bindings. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |