[$] A step toward scatterlist removal

Post Syndicated from corbet original https://lwn.net/Articles/1111121/

In order to obtain reasonable performance, devices on a system must be able
to perform I/O directly to and from system
memory, without involving the CPU. Controlling these DMA transfers
requires a fair amount of infrastructure within the kernel. One of the
oldest pieces of this infrastructure is the “scatterlist”, which describes
an I/O transfer in the address spaces seen by
both the CPU and the device in question. Scatterlists have been showing
their age for some time, and various parts of the kernel have been moving
away from them. This
patch series
from Alistair Popple is an attempt to move the dma-buf
subsystem
away from scatterlists, but it is meant to have wider
applicability.