From: Steven Hand Subject: Re: Re: [Xen-ia64-devel] Weekly benchmark results [ww24] Date: Tue, 20 Jun 2006 11:06:36 +0100 Message-ID: References: Return-path: In-Reply-To: Message from Atsushi SAKAI of "Tue, 20 Jun 2006 14:26:04 +0900." <200606200526.k5K5QWlK009993@fjmscan503.ms.jp.fujitsu.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Atsushi SAKAI Cc: xen-devel@lists.xensource.com, "yo.fujita" , "'You, Yongkang'" , Steven.Hand@cl.cam.ac.uk, 'Alex Williamson' , xen-ia64-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org >================== >STATUS >================== >I do the heavy load test of create/destroy. >CREDIT scheduler(cshed_schedule) checks BUG_ON(!vcpu_running) at the end of co de. >It makes error. >The reason is that >atomic_inc(&v->pausecnt)@vcpu_pause() is called without lock. >(spin_lock(&schedule_data[cpu].schedule_lock)) >This lock-less "pausecnt" makes vcpu_running state changing >during the lock of >spin_lock_irq(&schedule_data[cpu].schedule_lock)@__enter_schduler(). >The code of cshed_schedule exists within this lock. Thanks for this - we have also reproduced. The assertation was in fact bogus as you surmised. Have checked in a fix. cheers, S.