/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_NUMA_H #define __ASM_NUMA_H #include <asm/topology.h> #ifdef CONFIG_NUMA #define NR_NODE_MEMBLKS (MAX_NUMNODES * 2) int __node_distance(int from, int to); #define node_distance(a, b) __node_distance(a, b) extern nodemask_t numa_nodes_parsed __initdata; extern bool numa_off; /* Mappings between node number and cpus on that node. */ extern cpumask_var_t node_to_cpumask_map[MAX_NUMNODES]; void numa_clear_node(unsigned int cpu); #ifdef CONFIG_DEBUG_PER_CPU_MAPS const struct cpumask *cpumask_of_node(int node); #else /* Returns a pointer to the cpumask of CPUs on Node 'node'. */
static inline const struct cpumask *cpumask_of_node(int node) { return node_to_cpumask_map[node]; }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Ganapatrao Kulkarni | 19 | 100.00% | 1 | 100.00% |
Total | 19 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Ganapatrao Kulkarni | 10 | 100.00% | 1 | 100.00% |
Total | 10 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Ganapatrao Kulkarni | 8 | 100.00% | 1 | 100.00% |
Total | 8 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Ganapatrao Kulkarni | 13 | 100.00% | 1 | 100.00% |
Total | 13 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Ganapatrao Kulkarni | 191 | 95.50% | 1 | 25.00% |
Hanjun Guo | 4 | 2.00% | 1 | 25.00% |
Boris Ostrovsky | 4 | 2.00% | 1 | 25.00% |
Greg Kroah-Hartman | 1 | 0.50% | 1 | 25.00% |
Total | 200 | 100.00% | 4 | 100.00% |