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] [PATCH]Allow the kernel to poll in the idle loop

To: "Xen developers mailing list" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH]Allow the kernel to poll in the idle loop
From: "Amitabha Roy" <amitabha.roy@xxxxxxxxx>
Date: Mon, 1 Jan 2007 14:04:25 +0530
Delivery-date: Mon, 01 Jan 2007 00:34:08 -0800
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=Llt+XRw0lfaOWW6GtiJMRSpNspQaOVkToMP6VV7LM2PvLl8bLGKMkxViQZ43j0RWHArGw7L06bzh0X4jJvVmhNgKqFXht76EpXprhZQJXKKqgqnbxF86BMv7/C3KswTHktqA3zK++fwyDc45MGwQGW44uaG3UdqsoP5FjP+M56w=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
Description: Binary data

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