/xen-4.10.0-shim-comet/docs/man/ |
A D | xlcpupool.cfg.pod.5 | 88 Specifies the cpus of the NUMA-nodes given in C<NODES> (an integer or 89 a list of integers) to be member of the cpupool. The free cpus in the 92 =item B<cpus="CPU-LIST"> 94 Specifies the cpus that will be member of the cpupool. All the specified 95 cpus must be free, or creation will fail. C<CPU-LIST> may be specified 102 means that cpus 2,3,5 will be member of the cpupool. 106 means that cpus 0,2,3 and 5 will be member of the cpupool. A "node:" or 108 that pcpus 0, plus all the cpus of NUMA nodes 1,2,3 with the exception 109 of cpus 10,11,12,13 will be memeber of the cpupool. 113 If neither B<nodes> nor B<cpus> are specified only the first free cpu
|
A D | xl-numa-placement.pod.7 | 58 "cpus=" option in the config file (more about this below). Another option 142 Thanks to the "cpus=" option, it is possible to specify where a domain 169 if both "cpus_soft=" and "cpus=" are present, the VM's node-affinity 179 If neither "cpus=" nor "cpus_soft=" are present in the config file, libxl 277 bit different for earlier version of Xen. If no "cpus=" option is specified
|
A D | xl.pod.1.in | 183 xl create hvm.cfg 'cpus="0-3"; pci=["01:05.1","01:05.2"]' 186 cpus 0-3, and passes through two PCI devices. 755 =item B<vcpu-pin> [I<-f|--force>] I<domain-id> I<vcpu> I<cpus hard> I<cpus soft> 1226 Xen can group the physical cpus of a server in cpu-pools. Each physical CPU is 1230 Physical cpus and domains can be moved from one cpu-pool to another only by an 1262 =item B<-c>, B<--cpus> 1277 =item B<cpupool-cpu-add> I<cpu-pool> I<cpus|node:nodes> 1296 =item B<cpupool-cpu-remove> I<cpus|node:nodes>
|
/xen-4.10.0-shim-comet/xen/common/ |
A D | sched_credit.c | 210 cpumask_var_t cpus; member 526 cpumask_clear_cpu(cpu, prv->cpus); in csched_deinit_pdata() 568 cpumask_set_cpu(cpu, prv->cpus); in init_pdata() 725 cpumask_t cpus; in _csched_cpu_pick() local 762 cpumask_and(&cpus, &cpus, online); in _csched_cpu_pick() 789 cpumask_and(&cpus, &cpus, &idlers); in _csched_cpu_pick() 803 if ( !cpumask_test_cpu(cpu, &cpus) && !cpumask_empty(&cpus) ) in _csched_cpu_pick() 847 cpumask_andnot(&cpus, &cpus, per_cpu(cpu_sibling_mask, cpu)); in _csched_cpu_pick() 851 cpumask_andnot(&cpus, &cpus, &nxt_idlers); in _csched_cpu_pick() 2181 free_cpumask_var(prv->cpus); in csched_init() [all …]
|
A D | page_alloc.c | 212 cpumask_t cpus; member 1842 for_each_cpu ( temp_cpu, &r->cpus ) in smp_scrub_heap_pages() 1904 int cpus; in scrub_heap_pages() local 1923 cpus = find_non_smt(i, &node_cpus); in scrub_heap_pages() 1925 if ( cpus <= 0 ) in scrub_heap_pages() 1933 rem = (end - start) % cpus; in scrub_heap_pages() 1940 cpumask_copy(®ion[i].cpus, &node_cpus); in scrub_heap_pages() 1994 if ( cpus == 0 ) in scrub_heap_pages() 1997 cpus = 1; in scrub_heap_pages() 2001 region[i].per_cpu_sz /= cpus; in scrub_heap_pages() [all …]
|
A D | livepatch.c | 1256 unsigned int cpus, const char *s) in livepatch_spin() argument 1260 while ( atomic_read(counter) != cpus && NOW() < timeout ) in livepatch_spin() 1264 if ( atomic_read(counter) != cpus ) in livepatch_spin() 1267 livepatch_work.data->name, s, atomic_read(counter), cpus); in livepatch_spin() 1312 unsigned int cpus; in check_for_livepatch_work() local 1335 cpus = num_online_cpus() - 1; in check_for_livepatch_work() 1337 if ( cpus ) in check_for_livepatch_work() 1340 p->name, cpu, cpus); in check_for_livepatch_work() 1345 if ( livepatch_spin(&livepatch_work.semaphore, timeout, cpus, "CPU") ) in check_for_livepatch_work() 1358 if ( !livepatch_spin(&livepatch_work.semaphore, timeout, cpus, "IRQ") ) in check_for_livepatch_work()
|
A D | sched_rt.c | 648 cpumask_t cpus; in rt_cpu_pick() local 653 cpumask_and(&cpus, online, vc->cpu_hard_affinity); in rt_cpu_pick() 655 cpu = cpumask_test_cpu(vc->processor, &cpus) in rt_cpu_pick() 657 : cpumask_cycle(vc->processor, &cpus); in rt_cpu_pick() 658 ASSERT( !cpumask_empty(&cpus) && cpumask_test_cpu(cpu, &cpus) ); in rt_cpu_pick()
|
A D | sched_null.c | 296 cpumask_t *cpus = cpupool_domain_cpumask(v->domain); in pick_cpu() local 307 cpumask_and(cpumask_scratch_cpu(cpu), cpumask_scratch_cpu(cpu), cpus); in pick_cpu() 343 cpumask_and(cpumask_scratch_cpu(cpu), cpus, v->cpu_hard_affinity); in pick_cpu()
|
A D | schedule.c | 1873 cpumask_t *cpus; in schedule_dump() local 1880 cpus = c->cpu_valid; in schedule_dump() 1887 cpus = &cpupool_free_cpus; in schedule_dump() 1893 for_each_cpu (i, cpus) in schedule_dump()
|
/xen-4.10.0-shim-comet/xen/drivers/cpufreq/ |
A D | cpufreq.c | 233 if (!zalloc_cpumask_var(&policy->cpus)) { in cpufreq_add_cpu() 244 free_cpumask_var(policy->cpus); in cpufreq_add_cpu() 260 cpumask_set_cpu(cpu, policy->cpus); in cpufreq_add_cpu() 297 cpumask_clear_cpu(cpu, policy->cpus); in cpufreq_add_cpu() 300 if (cpumask_empty(policy->cpus)) { in cpufreq_add_cpu() 302 free_cpumask_var(policy->cpus); in cpufreq_add_cpu() 361 cpumask_clear_cpu(cpu, policy->cpus); in cpufreq_del_cpu() 364 if (cpumask_empty(policy->cpus)) { in cpufreq_del_cpu() 366 free_cpumask_var(policy->cpus); in cpufreq_del_cpu()
|
A D | cpufreq_ondemand.c | 124 for_each_cpu(j, policy->cpus) { in dbs_check_cpu() 236 for_each_cpu(j, policy->cpus) { in cpufreq_governor_dbs()
|
/xen-4.10.0-shim-comet/tools/examples/ |
A D | cpupool | 15 # list of cpus to use 16 cpus = ["2", "3"]
|
/xen-4.10.0-shim-comet/tools/libxl/ |
A D | libxl_cpupool.c | 326 int libxl_cpupool_cpuadd_node(libxl_ctx *ctx, uint32_t poolid, int node, int *cpus) in libxl_cpupool_cpuadd_node() argument 343 *cpus = 0; in libxl_cpupool_cpuadd_node() 347 (*cpus)++; in libxl_cpupool_cpuadd_node() 389 int libxl_cpupool_cpuremove_node(libxl_ctx *ctx, uint32_t poolid, int node, int *cpus) in libxl_cpupool_cpuremove_node() argument 409 *cpus = 0; in libxl_cpupool_cpuremove_node() 416 (*cpus)++; in libxl_cpupool_cpuremove_node()
|
A D | check-xl-vcpupin-parse.data-example | 29 # A few attempts of pinning to a random range of cpus
|
A D | libxl.h | 2239 int libxl_cpupool_cpuadd_node(libxl_ctx *ctx, uint32_t poolid, int node, int *cpus); 2243 int libxl_cpupool_cpuremove_node(libxl_ctx *ctx, uint32_t poolid, int node, int *cpus);
|
/xen-4.10.0-shim-comet/xen/arch/x86/acpi/cpufreq/ |
A D | powernow.c | 129 cpumask_and(&online_policy_cpus, policy->cpus, &cpu_online_map); in powernow_cpufreq_target() 255 cpumask_set_cpu(cpu, policy->cpus); in powernow_cpufreq_cpu_init() 256 if (cpumask_weight(policy->cpus) != 1) { in powernow_cpufreq_cpu_init() 258 policy->shared_type, cpumask_weight(policy->cpus)); in powernow_cpufreq_cpu_init() 263 cpumask_copy(policy->cpus, cpumask_of(cpu)); in powernow_cpufreq_cpu_init()
|
/xen-4.10.0-shim-comet/xen/arch/arm/ |
A D | smpboot.c | 100 struct dt_device_node *cpus = dt_find_node_by_path("/cpus"); in dt_smp_init_cpus() local 113 if ( !cpus ) in dt_smp_init_cpus() 120 dt_for_each_child_node( cpus, cpu ) in dt_smp_init_cpus()
|
A D | setup.c | 704 int cpus, i; in start_xen() local 791 cpus = smp_get_max_cpus(); in start_xen() 792 printk(XENLOG_INFO "SMP: Allowing %u CPUs\n", cpus); in start_xen() 793 nr_cpu_ids = cpus; in start_xen() 820 smp_prepare_cpus(cpus); in start_xen() 830 if ( (num_online_cpus() < cpus) && !cpu_online(i) ) in start_xen()
|
/xen-4.10.0-shim-comet/xen/drivers/acpi/ |
A D | pmstat.c | 210 if ( (op->u.get_para.cpu_num != cpumask_weight(policy->cpus)) || in get_cpufreq_para() 214 op->u.get_para.cpu_num = cpumask_weight(policy->cpus); in get_cpufreq_para() 222 for_each_cpu(cpu, policy->cpus) in get_cpufreq_para()
|
/xen-4.10.0-shim-comet/tools/xl/ |
A D | xl_cpupool.c | 46 XLU_ConfigList *cpus; in main_cpupoolcreate() local 184 } else if (!xlu_cfg_get_list(config, "cpus", &cpus, 0, 1)) { in main_cpupoolcreate() 186 while ((buf = xlu_cfg_get_listitem(cpus, n_cpus)) != NULL) { in main_cpupoolcreate()
|
A D | xl_parse.c | 311 XLU_ConfigList *cpus, const char *buf, in parse_vcpu_affinity() argument 344 while ((buf = xlu_cfg_get_listitem(cpus, j)) != NULL && j < num_cpus) { in parse_vcpu_affinity() 862 XLU_ConfigList *cpus, *vbds, *nics, *pcis, *cvfbs, *cpuids, *vtpms, in parse_config_data() local 1043 if (!xlu_cfg_get_list (config, "cpus", &cpus, &num_cpus, 1) || in parse_config_data() 1045 parse_vcpu_affinity(b_info, cpus, buf, num_cpus, /* is_hard */ true); in parse_config_data() 1048 if (!xlu_cfg_get_list (config, "cpus_soft", &cpus, &num_cpus, 1) || in parse_config_data() 1050 parse_vcpu_affinity(b_info, cpus, buf, num_cpus, false); in parse_config_data()
|
/xen-4.10.0-shim-comet/xen/include/acpi/cpufreq/ |
A D | cpufreq.h | 57 cpumask_var_t cpus; /* affected CPUs */ member
|
/xen-4.10.0-shim-comet/docs/features/ |
A D | sched_credit.pandoc | 31 xl cpupool-create name=\"pool1\" sched=\"credit\" cpus=[4,8]
|
A D | sched_credit2.pandoc | 40 xl cpupool-create name=\"pool1\" sched=\"credit2\" cpus=[1,2]
|
A D | sched_rtds.pandoc | 34 xl cpupool-create name=\"pool-rt\" sched=\"rtds\" cpus=[4,5,6,8]
|