|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [Patch] use full-size cpumask for vcpu-pin
Hi,
attached patch solves a problem with vcpu-pinning and hot-plug of cpus:
If a vcpu is unpinned via
xl vcpu-pin <domain> <vcpu> all
on a system with 64 cpus and later other cpus are plugged in, this vcpu will
be restricted to the first 64 cpus of the system.
The reason is the allocation of the cpumap for pinning: the size is only for
the ACTUAL number of physical cpus in the system, not the possible number.
The solution is to allocate a cpumap for up to NR_CPUS.
Repairing xm vcpu-pin is much harder and not covered by this patch, but the
problem can be avoided by calling
xm vcpu-pin <domain> <vcpu> 0-255
instead (all is hard-wired to 0-63 now).
Juergen
--
Juergen Gross Principal Developer Operating Systems
TSP ES&S SWE OS6 Telephone: +49 (0) 89 3222 2967
Fujitsu Technology Solutions e-mail: juergen.gross@xxxxxxxxxxxxxx
Domagkstr. 28 Internet: ts.fujitsu.com
D-80807 Muenchen Company details: ts.fujitsu.com/imprint.html
cpumask.patch
Description: Text Data
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [Patch] use full-size cpumask for vcpu-pin,
Juergen Gross <=
|
|
|
|
|