From: Keir Fraser Subject: Re: dom0 hang Date: Tue, 07 Jul 2009 08:24:55 +0100 Message-ID: References: <4D05DB80B95B23498C72C700BD6C2E0B2F9F62EC@pdsmsx502.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4D05DB80B95B23498C72C700BD6C2E0B2F9F62EC@pdsmsx502.ccr.corp.intel.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: "Yu, Ke" , "mukesh.rathor@oracle.com" Cc: George Dunlap , "Kurt C. Hackel" , "Tian, Kevin" , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 07/07/2009 08:14, "Yu, Ke" wrote: >> BTW, why can't the tick be suspended when csched_schedule() concludes >> it's idle vcpu before returning? won't that would make it less intrusive. > > The tick suspend can be put in csched_schedule, but the suspend/resume logic > is still needed in acpi_processor_idle anyway, due to another dbs_timer > suspend/resume. The intention here is to make acpi_processor_idle the central > place for timers which are stoppable during idle period. If there is other > stoppable timer in the future, it can be easily added to acpi_processor_idle. > So it is clean to keep current logic. and as long as we carefully not over > doing the softirq, it looks not so intrusive. How do you think? I think the approach is fine. I also already applied your patch since it is obviously a good bug fix, even if it doesn't fix Mukesh's bug. And I fixed the comment at the same time. And I backported it for Xen 3.4.1. -- Keir