Lines Matching defs:shared
1212 /* Scale the maximum scan period with the amount of shared memory. */
1216 unsigned long shared = group_faults_shared(ng);
1220 period *= shared + 1;
1221 period /= private + shared + 1;
1237 /* Scale the maximum scan period with the amount of shared memory. */
1240 unsigned long shared = group_faults_shared(ng);
1245 period *= shared + 1;
1246 period /= private + shared + 1;
1291 * The averaged statistics, shared & private, memory & CPU,
1523 /* A shared fault, but p->numa_group has not been set up yet. */
2248 * the page accesses are shared with other processes.
2251 static void update_task_scan_period(struct task_struct *p, unsigned long shared, unsigned long private)
2267 if (local + shared == 0 || p->numa_faults_locality[0x2]) {
2283 ps_ratio = (private * NUMA_PERIOD_SLOTS) / (private + shared);
2297 * Most memory accesses are shared with other tasks.
2775 * If a workload spans multiple NUMA nodes, a shared fault that
6085 * to shared cache, we look for a minimum 'flip' frequency of llc_size in one
6126 * context. Only allow the move if cache is shared. Otherwise an
6395 * sd_llc->shared->has_idle_cores and enabled through update_idle_core() above.
9110 * contention when accessing shared HW resources.
10946 atomic_inc(&sd->shared->nr_busy_cpus);
10977 atomic_dec(&sd->shared->nr_busy_cpus);