Home
last modified time | relevance | path

Searched refs:cpupool (Results 1 – 25 of 30) sorted by relevance

12

/xen-4.10.0-shim-comet/xen/common/
A Dcpupool.c37 DEFINE_PER_CPU(struct cpupool *, cpupool);
43 struct cpupool *c = xzalloc(struct cpupool); in alloc_cpupool_struct()
78 struct cpupool **q; in __cpupool_find_by_id()
96 struct cpupool *c; in __cpupool_get_by_id()
134 struct cpupool *c; in cpupool_create()
135 struct cpupool **q; in cpupool_create()
203 struct cpupool **q; in cpupool_destroy()
238 d->cpupool->n_dom--; in cpupool_move_domain_locked()
431 struct cpupool *c; in cpupool_add_domain()
470 d->cpupool = NULL; in cpupool_rm_domain()
[all …]
A Dschedule.c82 if ( likely(d->cpupool != NULL) ) in dom_scheduler()
83 return d->cpupool->sched; in dom_scheduler()
102 if ( likely(d->cpupool != NULL) ) in vcpu_scheduler()
103 return d->cpupool->sched; in vcpu_scheduler()
355 d->cpupool = c; in sched_move_domain()
418 ASSERT(d->cpupool == NULL); in sched_init_domain()
721 struct cpupool *c; in cpu_disable_scheduler()
726 c = per_cpu(cpupool, cpu); in cpu_disable_scheduler()
1332 struct cpupool *pool; in sched_adjust_global()
1751 struct cpupool *old_pool = per_cpu(cpupool, cpu); in schedule_cpu_switch()
[all …]
A DMakefile5 obj-y += cpupool.o
A Ddomctl.c212 info->cpupool = d->cpupool ? d->cpupool->cpupool_id : CPUPOOLID_NONE; in getdomaininfo()
A Dsched_rt.c802 struct cpupool *c = per_cpu(cpupool, cpu); in rt_deinit_pdata()
A Dsched_credit.c1690 struct cpupool *c = per_cpu(cpupool, cpu); in csched_load_balance()
/xen-4.10.0-shim-comet/tools/examples/
A Dcpupool2 # Configuration setup for 'xm cpupool-create' or 'xl cpupool-create'.
3 # This script sets the parameters used when a cpupool is created using
4 # 'xm cpupool-create' or 'xl cpupool-create'.
5 # You use a separate script for each cpupool you want to create, or
6 # you can set the parameters for the cpupool on the xm command line.
9 # the name of the new cpupool
A DREADME16 cpupool - example configuration script for 'xm cpupool-create'
A DMakefile11 XEN_CONFIGS += cpupool
/xen-4.10.0-shim-comet/tools/xl/
A Dxl_sched.c359 if (cpupool) { in sched_domain_output()
411 if (cpupool) { in sched_vcpu_output()
470 const char *cpupool = NULL; in main_sched_credit() local
512 cpupool = optarg; in main_sched_credit()
535 if (cpupool) { in main_sched_credit()
564 cpupool)) in main_sched_credit()
594 const char *cpupool = NULL; in main_sched_credit2() local
632 cpupool = optarg; in main_sched_credit2()
650 if (cpupool) { in main_sched_credit2()
713 const char *cpupool = NULL; in main_sched_rtds() local
[all …]
A Dxl_info.c359 bool cpupool, const libxl_dominfo *info, int nb_domain) in list_domains() argument
373 if (cpupool) printf(" Cpupool"); in list_domains()
418 if (cpupool) { in list_domains()
419 char *poolname = libxl_cpupoolid_to_name(ctx, info[i].cpupool); in list_domains()
502 bool cpupool = false; in main_list() local
528 cpupool = true; in main_list()
566 list_domains(verbose, context, false /* claim */, numa, cpupool, in main_list()
/xen-4.10.0-shim-comet/docs/man/
A Dxlcpupool.cfg.pod.511 To create a Cpupool with xl requires the provision of a cpupool config
13 the name of the cpupool.
17 A cpupool config file consists of a series of C<KEY=VALUE> pairs.
45 The following key is mandatory for any cpupool:
51 Specifies the name of the cpupool. Names of cpupools existing on a
64 Specifies the scheduler which is used for the cpupool. Valid
89 a list of integers) to be member of the cpupool. The free cpus in the
90 specified nodes are allocated in the new cpupool.
102 means that cpus 2,3,5 will be member of the cpupool.
109 of cpus 10,11,12,13 will be memeber of the cpupool.
[all …]
A Dxl.pod.1.in315 =item B<-c>, B<--cpupool>
317 Also displays the cpupool the domain belongs to.
1026 =item B<-p CPUPOOL>, B<--cpupool=CPUPOOL>
1100 =item B<-p CPUPOOL>, B<--cpupool=CPUPOOL>
1153 =item B<-c CPUPOOL>, B<--cpupool=CPUPOOL>
1268 =item B<cpupool-destroy> I<cpu-pool>
1273 =item B<cpupool-rename> I<cpu-pool> <newname>
1284 (a) xl cpupool-cpu-add mypool 4
1285 (b) xl cpupool-cpu-add mypool 1,5,10-16,^13
1296 =item B<cpupool-cpu-remove> I<cpus|node:nodes>
[all …]
/xen-4.10.0-shim-comet/xen/include/xen/
A Dsched-if.h14 extern struct cpupool *cpupool0;
48 DECLARE_PER_CPU(struct cpupool *, cpupool);
187 struct cpupool struct
192 struct cpupool *next; argument
207 ASSERT(d->cpupool != NULL); in cpupool_domain_cpumask()
208 return d->cpupool->cpu_valid; in cpupool_domain_cpumask()
A Dsched.h328 struct cpupool *cpupool; member
649 int sched_move_domain(struct domain *d, struct cpupool *c);
738 static inline struct domain *first_domain_in_cpupool( struct cpupool *c) in first_domain_in_cpupool()
741 for (d = rcu_dereference(domain_list); d && d->cpupool != c; in first_domain_in_cpupool()
746 struct domain *d, struct cpupool *c) in next_domain_in_cpupool()
748 for (d = rcu_dereference(d->next_in_list); d && d->cpupool != c; in next_domain_in_cpupool()
840 int schedule_cpu_switch(unsigned int cpu, struct cpupool *c);
911 struct cpupool *cpupool_get_by_id(int poolid);
912 void cpupool_put(struct cpupool *pool);
915 int cpupool_move_domain(struct domain *d, struct cpupool *c);
[all …]
/xen-4.10.0-shim-comet/docs/features/
A Dsched_credit2.pandoc35 Once the system is live, for creating a cpupool with Credit2 as
36 its scheduler, either compile a cpupool configuration file, as
38 in `tools/examples/cpupool`), or use just `xl` directly:
40 xl cpupool-create name=\"pool1\" sched=\"credit2\" cpus=[1,2]
75 where Credit2 is used as the scheduler of a cpupool, and by also doing the
78 * move a virtual machine inside and outside a Credit2 cpupool.
A Dsched_rtds.pandoc29 Once the system is live, for creating a cpupool with RTDS as its
30 scheduler, either compile a cpupool configuration file, as described
32 `tools/examples/cpupool`), or use just `xl` directly:
34 xl cpupool-create name=\"pool-rt\" sched=\"rtds\" cpus=[4,5,6,8]
77 * create a cpupool with RTDS as its scheduler,
90 * create a VM with 1 vCPU and put it in the RTDS cpupool,
A Dsched_credit.pandoc26 Once the system is live, for creating a cpupool with Credit as its
27 scheduler, either compile a cpupool configuration file, as described
29 `tools/examples/cpupool`), or use just `xl` directly:
31 xl cpupool-create name=\"pool1\" sched=\"credit\" cpus=[4,8]
/xen-4.10.0-shim-comet/tools/libxl/
A Dlibxl_numa.c211 int cpupool; in nr_vcpus_on_nodes() local
215 cpupool = libxl__domain_cpupool(gc, dinfo[i].domid); in nr_vcpus_on_nodes()
216 if (cpupool < 0) in nr_vcpus_on_nodes()
218 if (libxl_cpupool_info(CTX, &cpupool_info, cpupool)) in nr_vcpus_on_nodes()
A Dlibxl_dom.c85 return info.cpupool; in libxl__domain_cpupool()
90 int cpupool = libxl__domain_cpupool(gc, domid); in libxl__domain_scheduler() local
95 if (cpupool < 0) in libxl__domain_scheduler()
99 rc = libxl_cpupool_info(CTX, &poolinfo, cpupool); in libxl__domain_scheduler()
147 int i, cpupool, rc = 0; in numa_place_domain() local
159 rc = cpupool = libxl__domain_cpupool(gc, domid); in numa_place_domain()
162 rc = libxl_cpupool_info(CTX, &cpupool_info, cpupool); in numa_place_domain()
A Dlibxl_domain.c291 xlinfo->cpupool = xcinfo->cpupool; in libxl__xcinfo2xlinfo()
/xen-4.10.0-shim-comet/tools/python/xen/lowlevel/xc/
A Dxc.c364 "cpupool", (int)info[i].cpupool); in pyxc_domain_getinfo()
1720 return PyLongOrInt_FromLong(cpupool); in pyxc_cpupool_create()
1726 uint32_t cpupool; in pyxc_cpupool_destroy() local
1728 if (!PyArg_ParseTuple(args, "i", &cpupool)) in pyxc_cpupool_destroy()
1731 if (xc_cpupool_destroy(self->xc_handle, cpupool) != 0) in pyxc_cpupool_destroy()
1777 uint32_t cpupool; in pyxc_cpupool_addcpu() local
1783 &cpupool, &cpu) ) in pyxc_cpupool_addcpu()
1797 uint32_t cpupool; in pyxc_cpupool_removecpu() local
1803 &cpupool, &cpu) ) in pyxc_cpupool_removecpu()
1817 uint32_t cpupool, domid; in pyxc_cpupool_movedomain() local
[all …]
/xen-4.10.0-shim-comet/xen/include/public/
A Ddomctl.h118 uint32_t cpupool; member
/xen-4.10.0-shim-comet/tools/golang/xenlight/
A Dxenlight.go320 di.Cpupool = uint32(cdi.cpupool)
/xen-4.10.0-shim-comet/tools/libxc/
A Dxc_domain.c423 info->cpupool = domctl.u.getdomaininfo.cpupool; in xc_domain_getinfo()

Completed in 61 milliseconds

12