From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Yang, Xiaowei" Subject: Re: [PATCH] use atomic_t type for system wide credit scheduler statistics Date: Mon, 09 Mar 2009 16:30:39 +0800 Message-ID: <49B4D3AF.7050705@intel.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Keir Fraser wrote: > 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? Yes. The higher frequency the count is updated, the more increments lost can we see - comparing to atomic version, counts like "vcpu_check" and "scheduele" lose increments very obviously due to race. Thanks, xiaowei