* xen-hotplug.patch
@ 2006-08-02 14:02 Jan Beulich
2006-08-02 14:09 ` xen-hotplug.patch Keir Fraser
2006-08-02 14:16 ` xen-hotplug.patch Emmanuel Ackaouy
0 siblings, 2 replies; 5+ messages in thread
From: Jan Beulich @ 2006-08-02 14:02 UTC (permalink / raw)
To: xen-devel
Could someone point out the relevance of that patch (in patches/linux-2.6.16.13/). For my eyes it looks just wrong, as
it reverts the general effort of not touching per-CPU data of offline CPUs.
Thanks, Jan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: xen-hotplug.patch
2006-08-02 14:02 xen-hotplug.patch Jan Beulich
@ 2006-08-02 14:09 ` Keir Fraser
2006-08-02 14:45 ` xen-hotplug.patch Jan Beulich
2006-08-02 14:16 ` xen-hotplug.patch Emmanuel Ackaouy
1 sibling, 1 reply; 5+ messages in thread
From: Keir Fraser @ 2006-08-02 14:09 UTC (permalink / raw)
To: Jan Beulich; +Cc: xen-devel
On 2 Aug 2006, at 15:02, Jan Beulich wrote:
> Could someone point out the relevance of that patch (in
> patches/linux-2.6.16.13/). For my eyes it looks just wrong, as
> it reverts the general effort of not touching per-CPU data of offline
> CPUs.
>
> Thanks, Jan
top (at least old versions) would crash if the number of online
processors changed while they ran. Hence this patch. Not clear it's
really a good fix, but it does okay as a workaround.
-- Keir
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: xen-hotplug.patch
2006-08-02 14:02 xen-hotplug.patch Jan Beulich
2006-08-02 14:09 ` xen-hotplug.patch Keir Fraser
@ 2006-08-02 14:16 ` Emmanuel Ackaouy
1 sibling, 0 replies; 5+ messages in thread
From: Emmanuel Ackaouy @ 2006-08-02 14:16 UTC (permalink / raw)
To: Jan Beulich; +Cc: xen-devel
On Wed, Aug 02, 2006 at 03:02:51PM +0100, Jan Beulich wrote:
> Could someone point out the relevance of that patch (in patches/linux-2.6.16.13/). For my eyes it looks just wrong, as
> it reverts the general effort of not touching per-CPU data of offline CPUs.
Yeah it's an argueable hack but it does make things nicer when
you hotplug CPUs in and out of guests.
Here's the changeset description:
------------------------------------------------------------
# HG changeset patch
# User ack@kneesa.uk.xensource.com
# Node ID c6da0c5b03ffec5ce4130aeba90a49f218772622
# Parent dec7f819293c11f88281aa0fe408a10f8c1345ce
Patch linux so that /proc/stat shows all -- not just online -- CPUs.
This way, tools such as TOP don't freak out when CPUs are hotplugged.
------------------------------------------------------------
Without this, top crashes when you hotplug CPUs out and it
just doesn't notice new CPUs coming online.
I'm all for a better fix if we can come up with one. Aside
from changing tons of libs and apps to deal with the reality
of CPUs coming online and going offline dynamically, I'm not
sure what we can do though.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: xen-hotplug.patch
2006-08-02 14:09 ` xen-hotplug.patch Keir Fraser
@ 2006-08-02 14:45 ` Jan Beulich
2006-08-02 14:55 ` xen-hotplug.patch Emmanuel Ackaouy
0 siblings, 1 reply; 5+ messages in thread
From: Jan Beulich @ 2006-08-02 14:45 UTC (permalink / raw)
To: Keir Fraser; +Cc: xen-devel
>top (at least old versions) would crash if the number of online
>processors changed while they ran. Hence this patch. Not clear it's
>really a good fix, but it does okay as a workaround.
That must be a problem with CPU hotplug on real hardware then, too.
Jan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: xen-hotplug.patch
2006-08-02 14:45 ` xen-hotplug.patch Jan Beulich
@ 2006-08-02 14:55 ` Emmanuel Ackaouy
0 siblings, 0 replies; 5+ messages in thread
From: Emmanuel Ackaouy @ 2006-08-02 14:55 UTC (permalink / raw)
To: Jan Beulich; +Cc: xen-devel
On Wed, Aug 02, 2006 at 03:45:27PM +0100, Jan Beulich wrote:
> >top (at least old versions) would crash if the number of online
> >processors changed while they ran. Hence this patch. Not clear it's
> >really a good fix, but it does okay as a workaround.
>
> That must be a problem with CPU hotplug on real hardware then, too.
Yeah.
In practice the problem is less visible on real hardware because
CPU hotplugging is not be used as aggressively in that scenario
as it might when multiple SMP virtual guests compete for a fixed
number of physical CPUs on Xen.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-08-02 14:55 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-02 14:02 xen-hotplug.patch Jan Beulich
2006-08-02 14:09 ` xen-hotplug.patch Keir Fraser
2006-08-02 14:45 ` xen-hotplug.patch Jan Beulich
2006-08-02 14:55 ` xen-hotplug.patch Emmanuel Ackaouy
2006-08-02 14:16 ` xen-hotplug.patch Emmanuel Ackaouy
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.