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] [PATCH] Oprofile patch for 2.6.27 tree. Fix collisionbet

To: "Steven Smith" <steven.smith@xxxxxxxxxx>, "Jose Renato G Santos" <joserenato.santos@xxxxxx>
Subject: Re: [Xen-devel] [PATCH] Oprofile patch for 2.6.27 tree. Fix collisionbetween Xen and Cell processor escape codes
From: "Jan Beulich" <JBeulich@xxxxxxxxxx>
Date: Wed, 24 Jun 2009 09:15:13 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 24 Jun 2009 01:15:40 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <EF547E542C520A4D858CFEF5B404D0534AFCEC3AA2@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20090605205123.GB4514@xxxxxxxxxxxxxxxxxxxxxxxxxx> <EF547E542C520A4D858CFEF5B404D053477EA57C21@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20090608100212.GA11202@xxxxxxxxxxxxxxxxxxxxxxxxxx> <EF547E542C520A4D858CFEF5B404D053477EAC67CE@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20090609084651.GA14593@xxxxxxxxxxxxxxxxxxxxxxxxxx> <EF547E542C520A4D858CFEF5B404D053477EB1ACDB@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20090616103822.GA32136@xxxxxxxxxxxxxxxxxxxxxxxxxx> <EF547E542C520A4D858CFEF5B404D053477FA5EE8B@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20090619173009.GA13896@xxxxxxxxxxxxxxxxxxxxxxxxxx> <EF547E542C520A4D858CFEF5B404D0534AFCC752B2@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20090619215857.GA14674@xxxxxxxxxxxxxxxxxxxxxxxxxx> <EF547E542C520A4D858CFEF5B404D0534AFCEC3AA2@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
I'm a little confused by this: Upstream oprofile 0.9.4 has the same workaround 
implemented on the user mode side of things, so adjusting this in the kernel 
now would make the kernel incompatible with that and future versions. Jan

>>> "Santos, Jose Renato G" <joserenato.santos@xxxxxx> 23.06.09 20:13 >>>

Steven

This is a fix to enable Oprofile to work on the netchannel2 2.6.27 tree.

This is to address a collision for escape codes used to represent domain 
switches in Xen and CPU switches in cell processors which were developed in 
parallel and used the same code.

There was a discussion on the Oprofile mailing list a while ago and it was 
decided that we would use different Oprofile codes for x86 and ia64 archs 
(which are the only ones that support Oprofile in Xen) in order to preserve 
backward compatibility for users.

The Oprofile user level tools expect different escape codes depending on the 
architecture. We need to make sure the kernel generates compatible escape codes.

I think this should be also pushed to the 2.6.27 XenClient tree.

Thanks

Renato


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