Re: [patch] kernel events layer

Mike Waychison
2004-07-27T18:17:14Z

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.

- --
Mike Waychison
Sun Microsystems, Inc.
1 (650) 352-5299 voice
1 (416) 202-8336 voice
http://www.sun.com

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NOTICE: The opinions expressed in this email are held by me,
and may not represent the views of Sun Microsystems, Inc.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBBpu3dQs4kOxk3/MRAthIAJ41mD9SV3tfZosw2H26Vt4xayKP5ACbB4Eb
QQImIFvK2NXCt0B5dHPj5ps=
=1TDt
-----END PGP SIGNATURE-----