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 atomic_t type for system wide credit schedul

To: "Yang, Xiaowei" <xiaowei.yang@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] use atomic_t type for system wide credit scheduler statistics
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Mon, 09 Mar 2009 08:09:17 +0000
Cc:
Delivery-date: Mon, 09 Mar 2009 01:09:46 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <49B4C952.30005@xxxxxxxxx>
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: Acmgi4yqRp4I54znQLSXH99ICzw72gAAsrMw
Thread-topic: [Xen-devel] [PATCH] use atomic_t type for system wide credit scheduler statistics
User-agent: Microsoft-Entourage/12.15.0.081119
Not while csched stats are enabled by default. They get cranked all over the
place. How much does this race matter? We probably just lose a few
increments?

 -- Keir

On 09/03/2009 07:46, "Yang, Xiaowei" <xiaowei.yang@xxxxxxxxx> wrote:

> Current code is not SMP safe. Use atomic_t type instead.
> 
> Thanks,
> xiaowei



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