Off-topic: D-Bus in the kernel
alban.crequy at collabora.co.uk
Fri Sep 17 08:37:58 PDT 2010
Le Fri, 17 Sep 2010 11:28:24 -0400,
Havoc Pennington <hp at pobox.com> a écrit :
> Does the kernel dbus do the validation/parsing/message-modification
> that the daemon does?
No. It does the minimum parsing required to route the messages (header
fields 'sender', 'destination', 'interface', etc.). There is no
validation, except a few incomplete ones in the headers of the message.
> How much of the perf gain is due to different
> behavior/semantics vs. avoiding the context switch and copies?
I don't know, I need to test that. Is there an easy way to disable
validation in dbus-daemon?
More information about the dbus