Article 74ATR [$] BPF comes to io_uring at last

[$] BPF comes to io_uring at last

by
daroc
from LWN.net on (#74ATR)

The kernel's asynchronousio_uring interface maintains two shared ring buffers:a submission queue for sending requests to the kernel, and a completion queuecontaining the results of those requests. Even with shared memory removing muchof the overhead of communicating with user space, there is still some overheadwhenever the kernel must switch to user space to give it the opportunity toprocess completion requests andqueue up any subsequent work items. Apatch set from Pavel Begunkov minimizes this overhead by lettingprogrammers extend the io_uring event loop with a BPF program that can enqueueadditional work in response to completion events. The patch set hasbeen in development for a long time, but hasfinally been accepted.

External Content
Source RSS or Atom Feed
Feed Location http://lwn.net/headlines/rss
Feed Title LWN.net
Feed Link https://lwn.net/
Reply 0 comments