Searched refs:mem_idx (Results 1 – 1 of 1) sorted by relevance
2160 int mem_idx, membuf_idx, cpu_idx, cpubuf_idx; in task_numa_placement() local2167 mem_idx = task_faults_idx(NUMA_MEM, nid, priv); in task_numa_placement()2173 diff = p->numa_faults[membuf_idx] - p->numa_faults[mem_idx] / 2; in task_numa_placement()2190 p->numa_faults[mem_idx] += diff; in task_numa_placement()2192 faults += p->numa_faults[mem_idx]; in task_numa_placement()2202 ng->faults[mem_idx] += diff; in task_numa_placement()2203 ng->faults_cpu[mem_idx] += f_diff; in task_numa_placement()2205 group_faults += ng->faults[mem_idx]; in task_numa_placement()