All of lore.kernel.org
 help / color / mirror / Atom feed
* Backend in user space, how is its kernel dev unregistered?
@ 2009-03-04 19:02 Markus Armbruster
  2009-03-04 19:14 ` Keir Fraser
  2009-03-04 19:17 ` Keir Fraser
  0 siblings, 2 replies; 9+ messages in thread
From: Markus Armbruster @ 2009-03-04 19:02 UTC (permalink / raw)
  To: xen-devel

There's a curious asymmetry in how Xen backend devices are registered
and unregistered.

Registering is the job of xenbus_probe.c: it watches xenstore, and when
a device node shows up, it calls device_register().

Unregistering is the device driver's job: it watches xenstore, and when
it sees the front end shut down, it calls device_unregister().

But what if the device driver is in user space?  vfb and vkbd are.  I
can't see how their kernel devices can ever get unregistered.

If that is true, any ideas on how to plug the leak?

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

end of thread, other threads:[~2009-03-05 13:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-04 19:02 Backend in user space, how is its kernel dev unregistered? Markus Armbruster
2009-03-04 19:14 ` Keir Fraser
2009-03-04 19:17 ` Keir Fraser
2009-03-04 19:51   ` Markus Armbruster
2009-03-04 22:29     ` Keir Fraser
2009-03-05 12:40       ` Markus Armbruster
2009-03-05 13:17         ` Gerd Hoffmann
2009-03-05 13:18         ` Keir Fraser
2009-03-05  9:40     ` Gerd Hoffmann

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.