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

Re: [Xen-devel] question about the poll_timer

> Thank you for your reply
> I read to the function do_pci_op() you told me,but I am not familiar
> with the pci facility
> I guess the poll_timer gives a interval for pci probing before time out
> or something
> could you tell me more about pci and poll_timer
>
> Thank you in advance
>
> Atsushi SAKAI 写道:

ISTR that the poll_timer is used to "Don't schedule me until an event comes 
in, or if the event hasn't arrived within this timeout"

It's a bit like the poll() system call in this respect.

HTH,
Cheers,
Mark

> >
> > Have you ever seen the do_pci_op() of
> > linux-2.6-sparse/drivers/xen/pcifront/pci_op.c?
> >
> > Thanks
> > Atsushi SAKAI
> >
> > tgh <tianguanhua@xxxxxxxxxx> wrote:
> >> hi
> >>  I try to understand the scheduler part code of xen,and I am confused
> >> about the poll_timer
> >> could you help me by telling me about the meaning and function of
> >> poll_timer
> >>
> >>
> >> struct vcpu {
> >>  ....
> >> struct timer     poll_timer;    /* timeout for SCHEDOP_poll */
> >> ....
> >> }
> >>
> >> Thanks in advance
> >>
> >> _______________________________________________
> >> Xen-devel mailing list
> >> Xen-devel@xxxxxxxxxxxxxxxxxxx
> >> http://lists.xensource.com/xen-devel
> >
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-devel
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

-- 
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

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

<Prev in Thread] Current Thread [Next in Thread>