1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking Benchmarking Platform
Phoromatic Test Orchestration

Linux 3.17 Lands Memfd, A KDBUS Prerequisite

Linux Kernel

Published on 19 August 2014 04:54 PM EDT
Written by Michael Larabel in Linux Kernel
16 Comments

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.

Memfd is a mechanism similar to Android's Ashmem that allows zero-copy message passing in KDBUS. Memfd effectively comes down to just a chunk of memory with a file descriptor attached that can be passed to mmap(). The memfd_create() function returns a raw shmem file and there's optional support for sealing.

Memfd is needed by KDBUS for message passing and now the code -- after being public but out-of-tree for several months -- is finally mainline. As a result, the KDBUS code has been updated to take advantage of the mainline Linux 3.17 state.

While KDBUS wasn't merged for Linux 3.17, it seems to be getting closer to being in shape for merging. At the start of the year the developers expressed a goal of mainlining KDBUS in 2014 and now their next opportunity would be Linux 3.18 otherwise Linux 3.19 would be cutting it close to the end of the year.

Those wishing to checkout the latest KDBUS code can find it via Greg KH's GitHub.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Linux News
  1. KDE Marks Four Years In Its Process Of Porting To Wayland
  2. Btrfs In Linux 4.2 Brings Quota Updates, Many Fixes
  3. Latest Rumor Pegs Microsoft Wanting To Buy AMD
  4. The Next-Gen Phoronix Site Experience Is Almost Ready
  5. Exciting Features Merged So Far For The Linux 4.2 Kernel
  6. Mesa 10.6.1 Brings A Bug-Fix For Dota 2 Reborn
  7. DragonFlyBSD 4.2 Released: Brings Improved Graphics & New Compiler
  8. Wine-Staging 1.7.46 Improves The OS X Experience
  9. The State & Complications Of Porting The Unity Editor To Linux
  10. Libreboot Now Supports An AMD/ASUS Motherboard
Latest Articles & Reviews
  1. How KDE VDG Is Trying To Make Open-Source Software Beautiful
  2. Attempting To Try Out BCache On The Linux 4.1 Kernel
  3. CompuLab's Fitlet Is A Very Tiny, Fanless, Linux PC With AMD A10 Micro
  4. AMD A10-7870K Godavari: RadeonSI Gallium3D vs. Catalyst Linux Drivers
Most Viewed News This Week
  1. Kubuntu 15.10 Could Be The End Of The Road
  2. Linus Is Looking Forward To Merging KDBUS, But Not Convinced By Performance
  3. NVIDIA Starts Supplying Open-Source Hardware Reference Headers
  4. KDBUS Won't Be Pushed Until The Linux 4.3 Kernel
  5. Linux 4.2 Kernel Gets Port To New Processor Architecture
  6. The Staging Pull For Linux 4.2: "Big, Really Big"
  7. SteamOS "Brewmaster" Is Valve's New Debian 8.1 Based Version
  8. EXT4 Has Many Cleanups & Fixes For Linux 4.2