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

[Xen-devel][PATCH 3] Update cpufreq statistic protection

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>, <xen-bugs@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel][PATCH 3] Update cpufreq statistic protection
From: "Liu, Jinsong" <jinsong.liu@xxxxxxxxx>
Date: Tue, 21 Oct 2008 10:50:03 +0800
Cc: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Mon, 20 Oct 2008 19:52:10 -0700
Envelope-to: www-data@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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AckzJ7dk91aGlIh4SkumpwY1Wo27tQ==
Thread-topic: [Xen-devel][PATCH 3] Update cpufreq statistic protection
Update cpufreq statistic protection

For struct pm_px, there are 3 pointer: pxpt, pt, trans_pt.
Partly free pointer 'pt' and 'trans_pt' will result in little memory
leak,
and what is more, will result in protection issue when user access px
statistic
info through libxc.

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

Attachment: px-xen-3-fixbug-pxstat.patch
Description: px-xen-3-fixbug-pxstat.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel][PATCH 3] Update cpufreq statistic protection, Liu, Jinsong <=