Re: [PATCH] udev enhancements to use kernel event queue

Werner Almesberger
2003-06-19T20:43:22Z

Olivier Galibert wrote:
> "Netlink is not a reliable protocol." sez the manpage.
>
> That sounds a little ridiculous for a local kernel<->user message
> protocol.

There are many way of being unreliable. If it means "bad things
happen and nobody is told about it", then yes, this would be
strange in this context. Howver, "loss due to congestion" is a
perfectly reasonable behaviour (*), and netlink indicates when
this has occurred.

If you get more events than you can queue or compress (e.g. if
you have on/off events but are only interested in the current
status, you could aggregate any number of such events in just
one bit), congestion is possible.

> Having to manage acks on that kind of communication is both
> painful and quasi-untestable.

<ObPlug>
Ha ! That's exactly the kind of stuff I'm writing umlsim for :-)
http://umlsim.sourceforge.net/
</ObPlug>

- Werner

--
_________________________________________________________________________
/ Werner Almesberger, Buenos Aires, Argentina wa@almesberger.net /
/_http://www.almesberger.net/____________________________________________/