Searched refs:mem_idx (Results 1 – 1 of 1) sorted by relevance
2396 int mem_idx, membuf_idx, cpu_idx, cpubuf_idx; in task_numa_placement() local2403 mem_idx = task_faults_idx(NUMA_MEM, nid, priv); in task_numa_placement()2409 diff = p->numa_faults[membuf_idx] - p->numa_faults[mem_idx] / 2; in task_numa_placement()2426 p->numa_faults[mem_idx] += diff; in task_numa_placement()2428 faults += p->numa_faults[mem_idx]; in task_numa_placement()2438 ng->faults[mem_idx] += diff; in task_numa_placement()2439 ng->faults_cpu[mem_idx] += f_diff; in task_numa_placement()2441 group_faults += ng->faults[mem_idx]; in task_numa_placement()