Function report |
Source Code:include\linux\sched.h |
Create Date:2022-07-28 05:59:45 |
Last Modify:2021-07-28 10:30:23 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:set_cpus_allowed_ptr
Proto:static inline int set_cpus_allowed_ptr(struct task_struct *p, const struct cpumask *new_mask)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | p | |
const struct cpumask * | new_mask |
1600 | If Not pumask_test_cpu - test for a cpu in a cpumask*@cpu: cpu number (< nr_cpu_ids)*@cpumask: the cpumask pointer* Returns 1 if @cpu is set in @cpumask, else returns 0 Then Return -EINVAL |
1602 | Return 0 |
Name | Describe |
---|---|
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. |
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 |