[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • To: "Xen developers mailing list" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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


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.


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



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.