public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Best method for sending messages to user space?
@ 2008-10-21 17:54 Timur Tabi
  2008-10-21 18:14 ` Dan Williams
  0 siblings, 1 reply; 6+ messages in thread
From: Timur Tabi @ 2008-10-21 17:54 UTC (permalink / raw)
  To: linux-kernel, Kumar Gala

I have a driver that provides services for a hypervisor that my company is
creating.  The hypervisor can send notifications to the driver via interrupts.
I want to send a message to user space whenever the driver receives one of the
interrupts.  The messages don't have any payload.

Should I be creating kobjects and using kobject_uevent(..., KOBJ_CHANGE) to send
these messages?  I want to take advantage of the standard (hotplug?) user-space
interface for this sort of thing, so that I don't need to have a custom-written
daemon running that waits on blocking ioctl calls.

-- 
Timur Tabi
Linux kernel developer at Freescale

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-10-21 20:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-21 17:54 Best method for sending messages to user space? Timur Tabi
2008-10-21 18:14 ` Dan Williams
2008-10-21 19:43   ` Timur Tabi
2008-10-21 20:16     ` Dan Williams
2008-10-21 20:23       ` Timur Tabi
2008-10-21 20:42         ` Dan Williams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox