Home
last modified time | relevance | path

Searched refs:numa_distance (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/mm/
Dnuma_memblks.c11 static u8 *numa_distance; variable
40 size_t size = numa_distance_cnt * numa_distance_cnt * sizeof(numa_distance[0]); in numa_reset_distance()
44 memblock_free(numa_distance, size); in numa_reset_distance()
46 numa_distance = NULL; /* enable table creation */ in numa_reset_distance()
62 size = cnt * cnt * sizeof(numa_distance[0]); in numa_alloc_distance()
64 numa_distance = memblock_alloc(size, PAGE_SIZE); in numa_alloc_distance()
65 if (!numa_distance) { in numa_alloc_distance()
68 numa_distance = (void *)1LU; in numa_alloc_distance()
77 numa_distance[i * cnt + j] = i == j ? in numa_alloc_distance()
105 if (!numa_distance && numa_alloc_distance() < 0) in numa_set_distance()
[all …]