WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Re: [PATCH]Allow the kernel to poll in the idle loop

To: "Xen developers mailing list" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Re: [PATCH]Allow the kernel to poll in the idle loop
From: "Amitabha Roy" <amitabha.roy@xxxxxxxxx>
Date: Tue, 2 Jan 2007 14:11:41 +0530
Delivery-date: Tue, 02 Jan 2007 00:41:29 -0800
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=C+JRkpZP8ngXkg7juRoeYoZqh2HNWpFK0DB1qg8CxQ75ySDNPi4p2KnyzWzwDvunkzuBrLm6CvsFUPIhi4dYdIrL0Ipy7mhY+uNhXQEAfQHdnVI4nX/gzrGkHIx43TmR7Si+1g/BXWyGAYVtvUUwAz6c5W+jiYrdM7zQ2elCrIo=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <cf9d85500701011002k44afaa45t466c534f4980cfbb@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <cf9d85500701010034l7d1b1251qef172c84a7c02d64@xxxxxxxxxxxxxx> <cf9d85500701011002k44afaa45t466c534f4980cfbb@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Bug fix to the patch :-$. Need to take care of the case where there is
no poll= option on the command line in which case we need to default
to xen_idle.

These are the final set of patches. Is anyone interested in having
these ? Then I can also work on and send out a similar patch for
x86_64.

Thanks
-Amitabha




On 1/1/07, Amitabha Roy <amitabha.roy@xxxxxxxxx> wrote:
Had attached the patch as a binary stream by mistake (default for my
mail client). Not sure if thats acceptable for the Xen list. Fixed it.

-Amitabha


On 1/1/07, Amitabha Roy <amitabha.roy@xxxxxxxxx> wrote:
> Hi
>
> The attached patch implements the idle=poll option in the kernel when
> running on Xen. This causes the kernel to use a polling loop rather
> than hypercall down to block. I have found this useful to profile the
> amount of sleep cycles when using xenoprof, there may be other uses.
>
> Thanks
> -Amitabha
>
> Signed-off-by: Amitabha Roy <amitabha.roy@xxxxxxxxx>
>
>
>



Attachment: xen_poll_patch1.txt
Description: Text document

Attachment: xen_poll_patch2.txt
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel