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@lists.xensource.com
http://lists.xensource.com/xen-devel