Searched refs:task_faults_idx (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.1/kernel/sched/ |
D | fair.c | 1264 static inline int task_faults_idx(enum numa_faults_stats s, int nid, int priv) in task_faults_idx() function 1274 return p->numa_faults[task_faults_idx(NUMA_MEM, nid, 0)] + in task_faults() 1275 p->numa_faults[task_faults_idx(NUMA_MEM, nid, 1)]; in task_faults() 1285 return ng->faults[task_faults_idx(NUMA_MEM, nid, 0)] + in group_faults() 1286 ng->faults[task_faults_idx(NUMA_MEM, nid, 1)]; in group_faults() 1291 return group->faults[task_faults_idx(NUMA_CPU, nid, 0)] + in group_faults_cpu() 1292 group->faults[task_faults_idx(NUMA_CPU, nid, 1)]; in group_faults_cpu() 1301 faults += ng->faults[task_faults_idx(NUMA_MEM, node, 1)]; in group_faults_priv() 1313 faults += ng->faults[task_faults_idx(NUMA_MEM, node, 0)]; in group_faults_shared() 2582 mem_idx = task_faults_idx(NUMA_MEM, nid, priv); in task_numa_placement() [all …]
|