Re: [patch] kernel events layer

From: Oliver Neukum
Date: Tue Jul 27 2004 - 13:38:29 EST


Am Dienstag, 27. Juli 2004 20:15 schrieb Mike Waychison:
> Tim Hockin wrote:
> > On Mon, Jul 26, 2004 at 03:03:05PM -0400, Greg KH wrote:
> >
> >>>On a related note, is this supposed to supersede the current hotplug
> >>>mechanism?
> >>
> >>No, it will not. At the most, it will report the same information to
> >>make it easier for userspace programs who want to get the other
> >>event information, also get the hotplug stuff through the same
> >>interface, reducing their complexity.
> >>
> >>So the existing hotplug interface is not going away at all. Do not even
> >>begin to think that :)
> >
> >
> > What about flipping it around and using either hotplug or a hotplug-like
> > mechanism for these events?
> >
> > It solves the issue of events being dropped when there is no listening
> > daemon...
> >
> > These are not going to be high-traffic messages, right, so the overhead is
> > negligible...
> >
>
> The problem with this is that you'd lose the ability to send the
> messages broadcast, whereby you may have multiple dbus's listening for
> events.

Why is that? Couldn't a hotplug script use dbus?

Regards
Oliver
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/