Re: [GIT PULL] kdbus for 4.1-rc1

Rik van Riel
2015-04-15T16:01:40Z

On 04/15/2015 07:06 AM, One Thousand Gnomes wrote:

>> that anyone here does either. In the many years I've spent working on
>> this, dbus has seemed to be odd, and strange, to the way that the kernel
>> has normally worked, because it is. And that's not a bad thing, it's
>> just different, and for us to support real needs and requirements of our
>> users, is the requirement of the Linux kernel.
>
> There are I think a set of intertwined problems here
>
> - An efficient delivery system for multicast messages delivered locally
> (be that MPI, dbus whatever - it's not "dbus or nothing")
>
> - A kernel side dynamic namespace to describe what goes where
>
> - A kernel side security model to describe who may receive what, and
> which additional information/tags/cred info
>
> - Something that provides state to stuff that needs it (and probably
> belongs in userspace - dbus name service etc)
>
> - Something that maps dbus and other models onto the kernel security
> model (and we have tools like EBPF which are very powerful)
>
> - Something that maps the kernel layer onto models like MPI-3

It is not clear to me why user space applications would
have to change if the kernel bus used for dbus behaves
differently from the userspace dbus daemon.

Can't libdbus take care of the differences, and remove
some of the problems highlighted by Alan (eg. the possibility
of the protocol requiring the kernel to keep more messages
in flight than we have memory for) ?