mbox series

[v1,0/3] cpus: single-threaded TCG CPU creation improvements

Message ID 20180209195239.16048-1-david@redhat.com
Headers show
Series cpus: single-threaded TCG CPU creation improvements | expand

Message

David Hildenbrand Feb. 9, 2018, 7:52 p.m. UTC
While looking into CPU hotplug for s390x TCG, I noticed that
single-threaded TCG does not properly inititalize CPUs > 1. Fix this
and cleanup the code a bit.

David Hildenbrand (3):
  cpus: properly inititalize CPU > 1 under single-threaded TCG
  cpus: wait for CPU creation at central place
  cpus: CPU threads are always created initially for one CPU only

 cpus.c | 33 ++++++++++-----------------------
 1 file changed, 10 insertions(+), 23 deletions(-)

Comments

Richard Henderson Feb. 9, 2018, 8:25 p.m. UTC | #1
On 02/09/2018 11:52 AM, David Hildenbrand wrote:
> While looking into CPU hotplug for s390x TCG, I noticed that
> single-threaded TCG does not properly inititalize CPUs > 1. Fix this
> and cleanup the code a bit.
> 
> David Hildenbrand (3):
>   cpus: properly inititalize CPU > 1 under single-threaded TCG
>   cpus: wait for CPU creation at central place
>   cpus: CPU threads are always created initially for one CPU only
> 
>  cpus.c | 33 ++++++++++-----------------------
>  1 file changed, 10 insertions(+), 23 deletions(-)
> 

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>


r~
Paolo Bonzini Feb. 20, 2018, 1:17 p.m. UTC | #2
On 09/02/2018 20:52, David Hildenbrand wrote:
> While looking into CPU hotplug for s390x TCG, I noticed that
> single-threaded TCG does not properly inititalize CPUs > 1. Fix this
> and cleanup the code a bit.
> 
> David Hildenbrand (3):
>   cpus: properly inititalize CPU > 1 under single-threaded TCG
>   cpus: wait for CPU creation at central place
>   cpus: CPU threads are always created initially for one CPU only
> 
>  cpus.c | 33 ++++++++++-----------------------
>  1 file changed, 10 insertions(+), 23 deletions(-)
> 

Queued, thanks.

Paolo