Searched refs:task_faults_idx (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.6/kernel/sched/ |
D | fair.c | 1547 static inline int task_faults_idx(enum numa_faults_stats s, int nid, int priv) in task_faults_idx() function 1557 return p->numa_faults[task_faults_idx(NUMA_MEM, nid, 0)] + in task_faults() 1558 p->numa_faults[task_faults_idx(NUMA_MEM, nid, 1)]; in task_faults() 1568 return ng->faults[task_faults_idx(NUMA_MEM, nid, 0)] + in group_faults() 1569 ng->faults[task_faults_idx(NUMA_MEM, nid, 1)]; in group_faults() 1574 return group->faults[task_faults_idx(NUMA_CPU, nid, 0)] + in group_faults_cpu() 1575 group->faults[task_faults_idx(NUMA_CPU, nid, 1)]; in group_faults_cpu() 1584 faults += ng->faults[task_faults_idx(NUMA_MEM, node, 1)]; in group_faults_priv() 1596 faults += ng->faults[task_faults_idx(NUMA_MEM, node, 0)]; in group_faults_shared() 2848 mem_idx = task_faults_idx(NUMA_MEM, nid, priv); in task_numa_placement() [all …]
|