函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\topology.h Create Date:2022-07-27 06:40:29
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Returns a pointer to the cpumask of CPUs on Node 'node'.

函数原型:static inline const struct cpumask *cpumask_of_node(int node)

返回类型:struct cpumask

参数:

类型参数名称
intnode
72  返回:Mappings between node number and cpus on that node. [node]
调用者
名称描述
cpumask_local_spreadpumask_local_spread - select the i'th cpu with local numa cpu's first*@i: index number*@node: local numa_node* This function selects an online CPU according to a numa aware policy;* local cpus are returned first, followed by non-local ones, then it
cpu_rmap_updatepu_rmap_update - update CPU rmap following a change of object affinity*@rmap: CPU rmap to update*@index: Index of object whose affinity changed*@affinity: New CPU affinity of object
assign_irq_vector_any_locked
workqueue_select_cpu_nearworkqueue_select_cpu_near - Select a CPU based on NUMA node*@node: NUMA node ID that we want to select a CPU from* This function will attempt to find a "random" cpu available on a given* node
wq_calc_node_cpumaskwq_calc_node_cpumask - calculate a wq_attrs' cpumask for the specified node*@attrs: the wq_attrs of the default pwq of the target workqueue*@node: the target NUMA node*@cpu_going_down: if >= 0, the CPU to consider as offline*@cpumask: outarg, the
sched_init_numa
smp_call_function_anysmp_call_function_any - Run a function on any of the given cpus*@mask: The mask of cpus it can run on.*@func: The function to run. This must be fast and non-blocking.*@info: An arbitrary pointer to pass to the function.
kswapdThe 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_onlineIt'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.
find_next_best_noded_next_best_node - find the next node that should appear in a given node's fallback list*@node: node whose fallback list we're appending*@used_node_mask: nodemask_t of already used nodes* We use a number of factors to determine which is the next node that
cpu_cpu_mask
cpumask_of_pcibus