[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 1/3] Update cpufreq aperf and mperf read, so that it can be used by both ondemand gov and user program


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Liu, Jinsong" <jinsong.liu@xxxxxxxxx>
  • Date: Fri, 20 Mar 2009 10:47:06 +0800
  • Accept-language: en-US
  • Acceptlanguage: en-US
  • Cc: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
  • Delivery-date: Thu, 19 Mar 2009 19:48:37 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcmpBihnBYkB4p/hRZi/cGgDkpE6vg==
  • Thread-topic: [PATCH 1/3] Update cpufreq aperf and mperf read, so that it can be used by both ondemand gov and user program

Update cpufreq aperf and mperf read, so that it can be used by both ondemand 
gov and user program.

Current __get_measured_perf read aperf and mperf MSR and then clear them for 
the sake of ondemand governor. This solution block user program to get aperf 
and mperf on their purpose.
In this patch, it no longer clear aperf and mperf MSR, so that it can be used 
by both ondemand gov and user program.

Signed-off-by: Liu, Jinsong <jinsong.liu@xxxxxxxxx>

Attachment: px-xen-1-amperf.patch
Description: px-xen-1-amperf.patch

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.