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

[PATCH 2][Xen-devel] Cpufreq: prevent negative px resident time, add spinlock to avoid race



Cpufreq: prevent negative px resident time, add spinlock to avoid race

Due to NOW() value may drift between different cpus, we add protection to 
prevent negative px resident time.
Due to both cpufreq logic and xenpm may race accessing cpufreq_statistic_data, 
we add spinlock to avoid race.

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

Attachment: px-xen-2-statisitic-update.patch
Description: px-xen-2-statisitic-update.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®.