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] use per-cpu variables in cpufreq

To: "Langsdorf, Mark" <mark.langsdorf@xxxxxxx>
Subject: Re: [Xen-devel] [PATCH] use per-cpu variables in cpufreq
From: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
Date: Tue, 14 Jun 2011 11:04:02 +0200
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 14 Jun 2011 02:09:25 -0700
Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=ts.fujitsu.com; i=juergen.gross@xxxxxxxxxxxxxx; q=dns/txt; s=s1536b; t=1308042244; x=1339578244; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to:content-transfer-encoding; bh=ZdQiWHehNf6jg2ggvX7jHAQ+zIfxdTSm+pjx2zg5i5g=; b=dT1xajyF92oa721zjcu7eGWzQss+4Il54czzCaPuvClVNbWdNPKz9FXs 1qRneuNdc3jNpd6B9Xs0OPSh8ftPzEGwiuQCVd5i6EVXHcuhaN4XGpr/h 7cOaPRyzZ4Yqe4dCX8QoCkslaWMPL2rtzQCCv8KsonTpjUjJi1uEiu2Lo +ZNwv+Y+pM+st/o0ktkzGnWySOjrsSPuYgnxdIXIClNpNiB14/GaU8say z0DeGKza2TxsCKkewVupgnDayt7qS;
Domainkey-signature: s=s1536a; d=ts.fujitsu.com; c=nofws; q=dns; h=X-SBRSScore:X-IronPort-AV:Received:X-IronPort-AV: Received:Received:Message-ID:Date:From:Organization: User-Agent:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=iksSKi0zVDZttN1rICM146DNgwdifdH3VbD6UNWbzoXM33J2yGbB2ei3 DRae0KkZcX87lwQPAmHPTDQR/CNL+WGYmnqDyhXkY8OsVDV+BWd7Nnrae hu+tH7VXL3UYTctY4qALNYq2I76e6YdbFOl+TeszKpBOWPpPLvT1GmB8J z+6RTDtmSOKckdTeFKDarjZQUpasDEn2dsgkV49+FlHFfIQYTwdzMWO+M U+vItyUpm2Joh5m7w8j/s8U8kOY0y;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C872CBF75AC4BE4093DF425DEA49BA080A172F4999@xxxxxxxxxxxxxxxxxxx>
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>
Organization: Fujitsu Technology Solutions
References: <eb601128d89304960076.1306494680@nehalem1> <C872CBF75AC4BE4093DF425DEA49BA080A172F4999@xxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110510 Iceowl/1.0b2 Icedove/3.1.10
On 06/10/11 21:00, Langsdorf, Mark wrote:
After Keir's comments downthread, are we going to see a
fresh patch for review?

Yes, I think I'll have some time this week to do this.
Sorry for the delay...


Juergen

--Mark Langsdorf
Operating System Research Center
AMD

-----Original Message-----
From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of
Juergen Gross
Sent: Friday, May 27, 2011 6:11 AM
To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] use per-cpu variables in cpufreq

The cpufreq driver used some local arrays indexed by cpu
number. This patch
replaces those arrays by per-cpu variables. The AMD and INTEL
specific parts
used different per-cpu data structures with nearly identical
semantics.
Fold the two structures into one by adding a generic
architecture data item.

Signed-off-by: juergen.gross@xxxxxxxxxxxxxx


8 files changed, 58 insertions(+), 66 deletions(-)
xen/arch/x86/acpi/cpufreq/cpufreq.c       |   36
++++++++++++------------
xen/arch/x86/acpi/cpufreq/powernow.c      |   43
+++++++++++------------------
xen/drivers/acpi/pmstat.c                 |    6 ++--
xen/drivers/cpufreq/cpufreq.c             |   24 ++++++++--------
xen/drivers/cpufreq/cpufreq_ondemand.c    |    2 -
xen/drivers/cpufreq/utility.c             |    8 ++---
xen/include/acpi/cpufreq/cpufreq.h        |    3 +-
xen/include/acpi/cpufreq/processor_perf.h |    2 -



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




--
Juergen Gross                 Principal Developer Operating Systems
TSP ES&S SWE OS6                       Telephone: +49 (0) 89 3222 2967
Fujitsu Technology Solutions              e-mail: juergen.gross@xxxxxxxxxxxxxx
Domagkstr. 28                           Internet: ts.fujitsu.com
D-80807 Muenchen                 Company details: ts.fujitsu.com/imprint.html


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

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