From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: Re: [PATCH] CPUIDLE: shorten hpet spin_lock holding time Date: Thu, 22 Apr 2010 09:23:06 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" 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: "Wei, Gang" , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 22/04/2010 09:19, "Keir Fraser" wrote: >> Hm, let me see if I can come up with a patch for this and post it for you. > > How about the attached patch? It MWAITs on a completely new flag field, > avoiding the IPI-avoidance semantics of softirq_pending. It also folds in > your patch. It also does wakeup-waiting checks on timer_deadline_start, that > being the field that initiates wakeup via the MONITORed memory region. ...If you do think it looks okay, could you also test it out on relevant hardware? :-) Thanks, Keir