From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Egger Subject: Re: [PATCH] x86 oprofile: use rdmsrl/wrmsrl Date: Wed, 30 Jun 2010 12:12:40 +0200 Message-ID: <201006301212.41002.Christoph.Egger@amd.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Tuesday 29 June 2010 18:02:54 Keir Fraser wrote: > How many more of these patches do you have up your sleeve? Depends on how small/large the chunks should/may be. My intention is to remove duplicated rdmsr/wrmsr functions and make rdmsr usable as a real C function. The large part of changes are the bit-operations surrounding the rdmsr/wrmsr code lines. The sent patches replace rdmsr/wrmsr by rdmsrl/wrmsrl step by step. When this is done, rdmsr/wrmsr can be killed. Christoph > -- Keir > > On 29/06/2010 16:47, "Christoph Egger" wrote: > > Hi! > > > > Attached patch makes x86 oprofile code use rdmsrl/wrmsrl > > > > Signed-off-by: Christoph Egger -- ---to satisfy European Law for business letters: Advanced Micro Devices GmbH Einsteinring 24, 85609 Dornach b. Muenchen Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632