From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Williamson Subject: Re: question about the poll_timer Date: Tue, 13 Mar 2007 17:00:09 +0000 Message-ID: <200703131700.09975.mark.williamson@cl.cam.ac.uk> References: <45F4F9AF.2010108@ncic.ac.cn> <200703120708.l2C78ssW003957@fjmscan501.ms.jp.fujitsu.com> <45F5015E.7080801@ncic.ac.cn> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <45F5015E.7080801@ncic.ac.cn> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Atsushi SAKAI , tgh List-Id: xen-devel@lists.xenproject.org > 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 =E5=86=99=E9=81=93: ISTR that the poll_timer is used to "Don't schedule me until an event comes= =20 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 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@lists.xensource.com > >> http://lists.xensource.com/xen-devel > > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xensource.com > > http://lists.xensource.com/xen-devel > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel =2D-=20 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!