[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] s390: fix cpu hotplug / cpu activity on interru
From: |
Alexander Graf |
Subject: |
Re: [Qemu-devel] [PATCH] s390: fix cpu hotplug / cpu activity on interrupts |
Date: |
Mon, 19 Dec 2011 13:48:17 +0100 |
On 21.11.2011, at 10:12, Christian Borntraeger wrote:
> The add_del/running_cpu code and env->halted are tracking stopped cpus.
> Sleeping cpus (idle and enabled for interrupts) are waiting inside the
> kernel.
> No interrupt besides the restart can move a cpu from stopped to
> operational. This is already handled over there. So lets just remove
> the bogus wakup from the common interrupt delivery, otherwise any
> interrupt will wake up a cpu, even if this cpu is stopped (Thus leading
> to strange hangs on sigp restart)
>
> This fixes
> echo 0 > /sys/devices/system/cpu/cpu0/online
> echo 1 > /sys/devices/system/cpu/cpu0/online
> in the guest
>
> Signed-off-by: Christian Borntraeger<address@hidden>
Thanks, applied to s390-next
Alex
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [PATCH] s390: fix cpu hotplug / cpu activity on interrupts,
Alexander Graf <=