Amitabha Roy
2007-Jan-01 08:34 UTC
[Xen-devel] [PATCH]Allow the kernel to poll in the idle loop
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@gmail.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Amitabha Roy
2007-Jan-01 18:02 UTC
[Xen-devel] Re: [PATCH]Allow the kernel to poll in the idle loop
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@gmail.com> 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@gmail.com> > > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Amitabha Roy
2007-Jan-02 08:41 UTC
[Xen-devel] Re: [PATCH]Allow the kernel to poll in the idle loop
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@gmail.com> 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@gmail.com> 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@gmail.com> > > > > > > > > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2007-Jan-02 09:16 UTC
Re: [Xen-devel] Re: [PATCH]Allow the kernel to poll in the idle loop
On 2/1/07 08:41, "Amitabha Roy" <amitabha.roy@gmail.com> wrote:> 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.Can you please produce one single patch that does everything needed for both i386 and x86/64? We will take the patch if you produce it. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Amitabha Roy
2007-Jan-02 16:29 UTC
Re: [Xen-devel] Re: [PATCH]Allow the kernel to poll in the idle loop
On 1/2/07, Keir Fraser <keir@xensource.com> wrote:> On 2/1/07 08:41, "Amitabha Roy" <amitabha.roy@gmail.com> wrote: > > Can you please produce one single patch that does everything needed for both > i386 and x86/64? We will take the patch if you produce it. >Done. The combined i386 and x86_64 patch is attached. Thanks -Amitabha _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel