[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] evtchn_device_upcall() ?




On 24 Sep 2005, at 18:42, NAHieu wrote:

Anybody could tell me what is the purpose of having
evtchn_device_upcall() in
linux-2.6-xen-sparse/drivers/xen/evtchn/evtchn.c ?

Notifications on event channels that user-space processes are bound to are demuxed in that function and teh notification appended to the appropriate process's ring buffer for later passing to user space via read(). Note how the relevant process is woken if it is blocked in read() or select(), or receives SIGIO if it requested FASYNC mode on the file descriptor.

 -- Keir


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.