Linux 3.17 Lands Memfd, A KDBUS Prerequisite

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • phoronix
    Administrator
    • Jan 2007
    • 67328

    Linux 3.17 Lands Memfd, A KDBUS Prerequisite

    Phoronix: Linux 3.17 Lands Memfd, A KDBUS Prerequisite

    There's many new features to Linux 3.17 that were covered over the past two weeks on Phoronix. One of the merged Linux 3.17 features that went under our radar at the time was the new memfd syscall was merged, which is a requirement of the forthcoming KDBUS, the kernel-based D-Bus implementation sought after by the systemd crew...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite
  • gens
    Senior Member
    • May 2012
    • 1158

    #2
    so it's like shm_open but with using a fd instead of a name ?
    i thought it would allow changing permissions on the fly; guess i have to read better next time

    Comment

    • nerdopolis
      Senior Member
      • May 2010
      • 241

      #3
      Could wayland_shm use memfds?

      Comment

      • Attent?ter
        Phoronix Member
        • Dec 2013
        • 113

        #4
        Originally posted by atari314
        Oh look, cancer spreading...
        Yet another infection to remove before compiling...
        if you can do better show some code....

        Comment

        • dvdhrm
          Junior Member
          • Mar 2012
          • 17

          #5
          How about you guys educate yourself before complaining? memfd has nothing to do with kdbus except that kdbus happens to use it. For details, see:

          For 4 months now we’ve been hacking on a new syscall for the linux-kernel, called memfd_create. The intention is to provide an easy way to get a file-descriptor for anonymous memory, without …


          You read it? Ok, now continue calling work of other people "infectious cancer" without having a clue what it is all about...

          Comment

          • xeekei
            Senior Member
            • Oct 2012
            • 870

            #6
            Originally posted by dvdhrm View Post
            How about you guys educate yourself before complaining? memfd has nothing to do with kdbus except that kdbus happens to use it. For details, see:

            For 4 months now we’ve been hacking on a new syscall for the linux-kernel, called memfd_create. The intention is to provide an easy way to get a file-descriptor for anonymous memory, without …


            You read it? Ok, now continue calling work of other people "infectious cancer" without having a clue what it is all about...
            Thank you. I was getting annoyed with all this stupidity.

            Comment

            • Brane215
              Senior Member
              • Jul 2012
              • 782

              #7
              Originally posted by atari314
              Oh look, cancer spreading...
              Yet another infection to remove before compiling...
              Why ? It is meant to enable dbus replacement that will be far leaner. What's so wrong with that ?

              Comment

              • Ericg
                Senior Member
                • Aug 2012
                • 2585

                #8
                Originally posted by Brane215 View Post
                Why ? It is meant to enable dbus replacement that will be far leaner. What's so wrong with that ?
                There's some people on these boards that do their best to rip out anything dbus related if at all possible.. theyve said so before in other Dbus related threads.
                All opinions are my own not those of my employer if you know who they are.

                Comment

                • robclark
                  Senior Member
                  • Sep 2011
                  • 564

                  #9
                  Originally posted by Ericg View Post
                  There's some people on these boards that do their best to rip out anything dbus related if at all possible.. theyve said so before in other Dbus related threads.
                  no arguing with irrationality..

                  someone better not tell 'em that dbus uses sockets, lest they try to build a kernel without socket support :-P

                  Comment

                  • jacob
                    Senior Member
                    • Jul 2010
                    • 2972

                    #10
                    Originally posted by robclark View Post
                    no arguing with irrationality..

                    someone better not tell 'em that dbus uses sockets, lest they try to build a kernel without socket support :-P
                    If only it used just sockets! Dbus also runs as a process, imagine that!

                    Comment

                    Working...
                    X