From mboxrd@z Thu Jan 1 00:00:00 1970 From: BVK Chaitanya Subject: Re: [PATCH] serialize suspend-resume process Date: Fri, 01 Aug 2008 11:28:28 +0530 Message-ID: <4892A604.5070803@symantec.com> References: <48929F9A.2050504@symantec.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <48929F9A.2050504@symantec.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: Keir Fraser Cc: Xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org BVK Chaitanya wrote: > Keir Fraser wrote: >> >> On 31/7/08 16:27, "BVK Chaitanya" >> wrote: >> >>> It is doing a busy-wait loop till suspend-resume cycle completes, if >>> any. I found that it may go more than 25 msec sometimes. >> >> It's not a busy-wait loop. As long as shutdown_state does not change >> under >> its feet, it will complete in no more than two iterations. >> > > Yep, my mistake :-( > My mistake again, forget my last message. It doesn't loose any suspend requests. I should say its a nice piece of code; brain teasing after a long time :-) regards, -- bvk-chaitanya