qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-ppc] [for-2.7 PATCH v3 03/15] cpu: Reclaim vCPU objects


From: Paolo Bonzini
Subject: Re: [Qemu-ppc] [for-2.7 PATCH v3 03/15] cpu: Reclaim vCPU objects
Date: Thu, 26 May 2016 12:19:05 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0


On 12/05/2016 05:48, Bharata B Rao wrote:
> @@ -1531,6 +1563,9 @@ static void tcg_exec_all(void)
>                  break;
>              }
>          } else if (cpu->stop || cpu->stopped) {
> +            if (cpu->unplug) {

This "if" is unnecessary.  next_cpu is not used anymore after the
"break", so the store is dead.

Ok without this.

Paolo

> +                next_cpu = CPU_NEXT(cpu);
> +            }
>              break;
>          }
>      }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]