Announcement

Collapse
No announcement yet.

BUS1 Still Remains Out Of The Mainline Linux Kernel, But DBus-Broker Continues

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #11
    Originally posted by FishB8 View Post

    Binder is synchronous. An asynchronous message bus is desired.
    There are also other differences: http://kroah.com/log/blog/2014/01/15/kdbus-details/

    Comment


    • #12
      Originally posted by pipe13 View Post
      Okay. So Fedora 27 has a dbus-broker rpm. IF installed, would dbus-broker live alongside dbus, or somehow replace it? I'm reluctant to find out....
      Just tried it out on fedora 28 beta. You still need the normal package to be installed, but if you enable dbus-broker service, it replaces the dbus.service.
      Linux D-Bus Message Broker. Contribute to bus1/dbus-broker development by creating an account on GitHub.


      So far it works fine for me

      Comment


      • #13
        Originally posted by wagaf View Post

        Sorry if it's stupid, just trying to understand..
        We use Binder every day on Android, it's a very powerful feature. Why not simply merge the Android Binder code ?
        Ask to the developers!

        Comment


        • #14
          Originally posted by wagaf View Post

          Sorry if it's stupid, just trying to understand..
          We use Binder every day on Android, it's a very powerful feature. Why not simply merge the Android Binder code ?
          Binder is not a generic IPC API, it does its own limited thing with its own limited code. It can not in any way provide anything useful for DBUS. Bus1 on the other hand can, and is more flexible, and can potentially expand on features for Binder.
          Last edited by carewolf; 23 April 2018, 05:12 PM.

          Comment


          • #15
            dbus-broker depends on 4.14 or newer kernels. So depends on functionality 12 Nov 2017 and newer. So when kdbus and bus1 both started the functionality to implement dbus-broker was not in the Linux kernel. So kernel side support has come just not as a direct dbus kernel module/feature.

            There is always more than 1 way something can be done. Finding the right way sometimes can take quite some time.

            Comment


            • #16
              Originally posted by carewolf View Post

              Binder is not a generic IPC API, it does its own limited thing with its own limited code. It can not in any way provide anything useful for DBUS. Bus1 on the other hand can, and is more flexible, and can potentially expand on features for Binder.
              Couldn't Binder be used to accelerate communication between a D-BUS client and dbus-broker or the D-BUS daemon ?

              Comment


              • #17
                Originally posted by wagaf View Post

                Sorry if it's stupid, just trying to understand..
                We use Binder every day on Android, it's a very powerful feature. Why not simply merge the Android Binder code ?
                Because it has its own range of problems, not least security wise. AFAIK Binder is actually merged already, but no-one uses it outside of Android.

                Comment


                • #18
                  Is any distro ysing BDUS Broker as yet?

                  Comment


                  • #19
                    Originally posted by Azrael5 View Post
                    As I said it is going to be another failure.
                    I can see from your history of posts that you make a lot of grand statements that are tragically incorrect, or some so disconnected as to be "not even wrong". Keep it up ...

                    Comment


                    • #20
                      Originally posted by Steffo View Post

                      AFAIK it's only suited for small data transmission.
                      That should not be an issue. memfd is here to transfer large amounts of data, so a simple-to-use, small message bus would have been ok IMHO.

                      Comment

                      Working...
                      X