Displaying 1 result from an estimated 1 matches for "__vcpu_has_node_affinity".
2013 Sep 17
1
[PATCH v2] xen: sched_credit: filter node-affinity mask against online cpus
...nity
+ * mask seems legit, but would instead led to trying to schedule the vcpu
+ * on _no_ pcpu! Typical use cases are for mask to be equal to the vcpu''s
+ * vcpu-affinity, or to the && of vcpu-affinity and the set of online cpus
+ * in the domain''s cpupool.
*/
-#define __vcpu_has_node_affinity(vc) \
- ( !(cpumask_full(CSCHED_DOM(vc->domain)->node_affinity_cpumask) \
- || !cpumask_intersects(vc->cpu_affinity, \
- CSCHED_DOM(vc->domain)->node_affinity_cpuma...