WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] xen-hotplug.patch

To: Jan Beulich <jbeulich@xxxxxxxxxx>
Subject: Re: [Xen-devel] xen-hotplug.patch
From: Emmanuel Ackaouy <ack@xxxxxxxxxxxxx>
Date: Wed, 2 Aug 2006 15:16:08 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 02 Aug 2006 07:17:18 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <44D0CCAB.76E4.0078.0@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Mail-followup-to: Jan Beulich <jbeulich@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
References: <44D0CCAB.76E4.0078.0@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
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@xxxxxxxxxxxxxxxxxxxxxxx
# 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.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>