#bpf — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #bpf, aggregated by home.social.
-
[$] The beginning of the 7.3 merge window
As of this writing, 2,346 non-merge changesets have been pulled into the mainline repository for the 7.3 kernel release. That, clearly, is a mere down payment on the flood that is [...]
-
[$] BPF, continuous testing, and stable kernels
Ihor Solodrai and Shung-Hsi Yu wrapped up the BPF track at the 2026 Linux Storage, Filesystem, Memory-Management, and BPF Summit with a pair of sessions related to testing. Solodr [...]
-
Pulsar. eBPF-based programmable networking dataplane (Статус: MVP)
Технология eBPF (extended Berkeley Packet Filter) берет свое начало от классического BPF, разработанного в начале 1990-х годов как механизма фильтрации сетевых пакетов, который впоследствии был реализован в Linux и других UNIX-подобных системах. Со временем возможности BPF значительно расширились, и появился eBPF — универсальная виртуальная машина, позволяющая безопасно выполнять пользовательские программы непосредственно внутри ядра без необходимости разрабатывать отдельные модули ядра. Сегодня eBPF применяется далеко не только для обработки сетевого трафика. Он используется для трассировки, мониторинга производительности, обеспечения безопасности, балансировки нагрузки, реализации сетевых политик и многих других задач. Перед загрузкой программа проходит проверку специальным верификатором ядра, гарантируя ее завершаемость, корректность обращений к памяти и соблюдение требований безопасности ядра. Благодаря этому eBPF позволяет расширять функциональность ядра без необходимости писать или загружать собственные модули ядра…
-
[$] Block-layer error injection
Storage code has to cope with hardware that fails in inconvenient ways, but coaxing a healthy disk into producing those failures on demand, for testing, is usually not possible. Th [...]
-
[$] Even more formal verification for BPF
BPF offers useful safety guarantees, but Kumar Kartikeya Dwivedi wants BPF programs to be even safer. At the 2026 Linux Storage, Filesystem, Memory-Management, and BPF Summit, he [...]
-
[$] Bringing BPF to binfmt_misc
The kernel is able to run a few types of executable files, including native binaries in the ELF format and interpreted programs that begin with the #! marker. It also, however, ha [...]
-
[$] Examining other network namespaces using BPF
Jordan Rife's work involves writing BPF programs for Cilium that interface with Kubernetes networking. As part of that work, he wants to enable BPF programs with appropriate perm [...]
https://lwn.net/Articles/1085896/ #LWN #Linux #kernel #BPF #LSFMMBPF
-
[$] Debugging information for inlined functions
BPF programs use BPF type format (BTF) debugging information in order to determine how to interact with functions in the kernel. Specifically, tracing a kernel function involves f [...]
https://lwn.net/Articles/1083985/ #LWN #Linux #kernel #BPF #LSFMMBPF
-
Sending packets directly from BPF
-
[$] An update on netkit and the use of BPF in user space
Daniel Borkmann led a session at the 2026 Linux Filesystem, Memory-Management, and BPF Summit about the progress that has been made with netkit, the subsystem that allows virtual [...]
https://lwn.net/Articles/1083418/ #LWN #Linux #kernel #Git #BPF
-
[$] An operations structure for swap devices
One of the ideas raised at the 2026 Linux Storage, Filesystem, Memory Management, and BPF Summit (LSFMM+BPF) was the creation of an operations structure for the swap subsystem. Li [...]
-
[$] Attaching programs to multiple tracepoints
Tracepoints in the kernel are useful for a variety of purposes: debugging, active monitoring, and performance measurements, among other things. Previously, any given BPF program co [...]
https://lwn.net/Articles/1082948/ #LWN #Linux #kernel #Git #BPF #LSFMMBPF
-
[$] Securing BPF LSMs against tampering
Since 2020, BPF programs have been able to act as Linux security modules (LSMs). Several projects, including systemd, have been working to use that capability to provide more secu [...]
https://lwn.net/Articles/1082111/ #LWN #Linux #kernel #Gentoo #systemd #BPF #LSFMMBPF
-
[$] Sched-ext: enqueue() for sub-schedulers and proxy-execution support
The extensible scheduler class (sched_ext) allows the installation of custom CPU schedulers as a set of BPF programs. While sched_ext, in its current form, has already led to a lo [...]
-
[$] Shielding running kernels against exploits with BPF
Cisco has some unusual challenges when it comes to deploying security patches across the company's many devices running custom kernels. John Fastabend spoke about his work preventi [...]
https://lwn.net/Articles/1081546/ #LWN #Linux #kernel #Rust #BPF #LSFMMBPF
-
[$] Faster RCUs and lockless memory allocation
Puranjay Mohan shared some of the work he's been doing recently on improving the performance of read-copy-update (RCU) at the 2026 Linux Storage, Filesystem, Memory-Management, a [...]
https://lwn.net/Articles/1081009/ #LWN #Linux #kernel #Git #BPF #LSFMMBPF
-
BPF XDP DNS: оптимизации, которые мы заслужили (часть 1)
Ошибки в работе компонент DNS могут приводить к инцидентам: нагрузка за секунды возрастает на порядки, а с учётом политики обработки ошибок timeout и retry на клиентах — быстро приобретает лавинообразный характер. Такое случалось в истории эксплуатации нашего внутреннего рекурсивного контура DNS. Отказы в обслуживании создавались небольшим числом внешних запросов, которые обрабатывались параллельно с внутренними. Но в результате их расследования нам удалось преодолеть фундаментальные ограничения функционирования DNS‑сервисов. Меня зовут Олег Горохов, в Yandex Infrastructure я работаю в команде управления трафиком. В этой статье поделюсь, как мы оптимизировали процессы обработки в задаче классификации и изоляции DNS‑запросов — и в итоге исключили влияние внешних запросов на внутренние благодаря перераспределению ресурсов. 2 мкс — ровно столько сейчас требуется выбранному методу для ответа на запросы в прод‑контуре. Это на три порядка быстрее , если сравнивать с традиционными ответами обычных DNS‑серверов.
https://habr.com/ru/companies/yandex_cloud_and_infra/articles/1056358/
-
[$] Limiting negative dentries
A number of problems related to negative directory entries (dentries) were the topic of a filesystem-track session at the 2026 Linux Storage, Filesystem, Memory Management, and BPF [...]
-
[$] Efficient access to local storage for BPF programs
When a BPF program is used to filter or redirect packets in the networking subsystem, the program will often want to associate data with each packet as it moves through the kernel. [...]
https://lwn.net/Articles/1078968/ #LWN #Linux #kernel #Git #BPF #LSFMMBPF