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: Mon, 1 Jan 2007 23:32:12 +0530
Delivery-date: Mon, 01 Jan 2007 10:01:57 -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=MznoDFz1nSWG5jr5zDzUs+BvHhM+ezxWTu/lYQxA6dG1GGGxwtd2VUNA5cpQ7TSNIHRqdYBqg342MLM0rgB1B4/aLceKUYydfKMdmekGBSZT8MbuSTREqMsUw4QzWZF4P0+tEI2AC2fdjdFSnHl1Q3P1yjsKlJO90mt/RMeOo/g=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <cf9d85500701010034l7d1b1251qef172c84a7c02d64@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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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_patch.txt
Description: Text document

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