From: Keir Fraser Subject: Re: [PATCH] Fix deadlock in schedule.c at TRACE mode Date: Thu, 24 Apr 2008 08:29:00 +0100 Message-ID: References: <481030A8.7080506@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <481030A8.7080506@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: NISHIGUCHI Naoki , Atsushi SAKAI , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 24/4/08 08:03, "NISHIGUCHI Naoki" wrote: >> 2)About fixing code, >> I think __trace_var() should fix for this issue not schedule() >> This issue cannot be fixed by modify the __trace_var()? > > Thanks for your advise. > I agree with you. > I fixed this deadlock using tasklet in trace.c. > > Here is the patch. Thanks. This was my bad as I removed the old softirq and couldn't see a reason not to call wake() directly. I'll add a comment when I apply your patch. -- Keir