/* * If zone_reclaim_mode is enabled, a RECLAIM_DISTANCE of 10 will mean that * all zones on all nodes will be eligible for zone_reclaim().
*/ #define RECLAIM_DISTANCE 10
int cpu_relative_distance(__be32 *cpu1_assoc, __be32 *cpu2_assoc); externint __node_distance(int, int); #define node_distance(a, b) __node_distance(a, b)
externvoid __init dump_numa_cpu_topology(void);
externint sysfs_add_device_to_node(struct device *dev, int nid); externvoid sysfs_remove_device_from_node(struct device *dev, int nid);
staticinlinevoid update_numa_cpu_lookup_table(unsignedint cpu, int node)
{
numa_cpu_lookup_table[cpu] = node;
}
staticinlineint early_cpu_to_node(int cpu)
{ int nid;
nid = numa_cpu_lookup_table[cpu];
/* * Fall back to node 0 if nid is unset (it should be, except bugs). * This allows callers to safely do NODE_DATA(early_cpu_to_node(cpu)).
*/ return (nid < 0) ? 0 : nid;
}
int of_drconf_to_nid_single(struct drmem_lmb *lmb); void update_numa_distance(struct device_node *node);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.