* evtchn_device_upcall() ?
@ 2005-09-24 17:42 NAHieu
2005-09-24 19:34 ` Keir Fraser
0 siblings, 1 reply; 2+ messages in thread
From: NAHieu @ 2005-09-24 17:42 UTC (permalink / raw)
To: xen-devel
Anybody could tell me what is the purpose of having
evtchn_device_upcall() in
linux-2.6-xen-sparse/drivers/xen/evtchn/evtchn.c ?
Great thanks.
Hieu
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: evtchn_device_upcall() ?
2005-09-24 17:42 evtchn_device_upcall() ? NAHieu
@ 2005-09-24 19:34 ` Keir Fraser
0 siblings, 0 replies; 2+ messages in thread
From: Keir Fraser @ 2005-09-24 19:34 UTC (permalink / raw)
To: NAHieu; +Cc: xen-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-09-24 19:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-24 17:42 evtchn_device_upcall() ? NAHieu
2005-09-24 19:34 ` Keir Fraser
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.