Searched refs:max_dist (Results 1 – 2 of 2) sorted by relevance
18 int max_dist; member
2700 int node, max_dist;2710 max_dist = READ_ONCE(sched_max_numa_distance); in numa_promotion_adjust_threshold() 2723 if (dist >= max_dist || node == nid) in numa_promotion_adjust_threshold() 2751 faults *= (max_dist - dist); in should_numa_migrate_memory() 2752 faults /= (max_dist - LOCAL_DISTANCE); in should_numa_migrate_memory() 2509 int node, max_dist; score_nearby_nodes() local