home.social

#bpf — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #bpf, aggregated by home.social.

fetched live
  1. [$] 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 [...]

    lwn.net/Articles/1089244/

    #LWN #Linux #kernel #Rust #Git #BPF

  2. [$] 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 [...]

    lwn.net/Articles/1087823/

    #LWN #Linux #kernel #Debian #GCC #Clang #Git #BPF #LSFMMBPF

  3. Pulsar. eBPF-based programmable networking dataplane (Статус: MVP)

    Технология eBPF (extended Berkeley Packet Filter) берет свое начало от классического BPF, разработанного в начале 1990-х годов как механизма фильтрации сетевых пакетов, который впоследствии был реализован в Linux и других UNIX-подобных системах. Со временем возможности BPF значительно расширились, и появился eBPF — универсальная виртуальная машина, позволяющая безопасно выполнять пользовательские программы непосредственно внутри ядра без необходимости разрабатывать отдельные модули ядра. Сегодня eBPF применяется далеко не только для обработки сетевого трафика. Он используется для трассировки, мониторинга производительности, обеспечения безопасности, балансировки нагрузки, реализации сетевых политик и многих других задач. Перед загрузкой программа проходит проверку специальным верификатором ядра, гарантируя ее завершаемость, корректность обращений к памяти и соблюдение требований безопасности ядра. Благодаря этому eBPF позволяет расширять функциональность ядра без необходимости писать или загружать собственные модули ядра…

    habr.com/ru/articles/1070346/

    #pulsar #bpf #network #security #linux #kernel

  4. [$] 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 [...]

    lwn.net/Articles/1086344/

    #LWN #Linux #kernel #Git #BPF

  5. [$] 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 [...]

    lwn.net/Articles/1087069/

    #LWN #Linux #kernel #Rust #BPF #LSFMMBPF

  6. [$] 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 [...]

    lwn.net/Articles/1086947/

    #LWN #Linux #kernel #Python #BPF

  7. [$] 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 [...]

    lwn.net/Articles/1085896/ #LWN #Linux #kernel #BPF #LSFMMBPF

  8. [$] FUSE status and plans

    Filesystem in Userspace (FUSE) maintainer Miklos Szeredi led a birds-of-a-feather (BoF) discussion about the subsystem at the 2026 Linux Storage, Filesystem, Memory Management, and [...]

    lwn.net/Articles/1086336/ #LWN #Linux #kernel #Git #BPF #io_uring #FUSE

  9. [$] Buffer sizes for FUSE io_uring

    The Filesystem in Userspace (FUSE) subsystem provides a way to service filesystem requests from a user-space server, which moves the format-handling code out of the kernel. The FU [...]

    lwn.net/Articles/1085618/ #LWN #Linux #kernel #BPF #io_uring #FUSE

  10. [$] The future of libraries in BPF

    Song Liu believes that the way that programmers assemble complex BPF programs will be changing rapidly in the future. At a session of the 2026 Linux Storage, Filesystem, Memory-M [...]

    lwn.net/Articles/1084869/ #LWN #Linux #kernel #Rust #Git #BPF #LSFMMBPF

  11. [$] 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 [...]

    lwn.net/Articles/1083985/ #LWN #Linux #kernel #BPF #LSFMMBPF

  12. [$] 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 [...]

    lwn.net/Articles/1083418/ #LWN #Linux #kernel #Git #BPF

  13. [$] 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 [...]

    lwn.net/Articles/1083094/ #LWN #Linux #kernel #BPF

  14. [$] 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 [...]

    lwn.net/Articles/1082948/ #LWN #Linux #kernel #Git #BPF #LSFMMBPF

  15. [$] Merging famfs?

    The famfs filesystem, which is meant to provide shared access to huge memory-resident files on CXL and other devices, returned to the Linux Storage, Filesystem, Memory Management, [...]

    lwn.net/Articles/1082687/ #LWN #Linux #kernel #XFS #BPF #FUSE

  16. [$] 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 [...]

    lwn.net/Articles/1082111/ #LWN #Linux #kernel #Gentoo #systemd #BPF #LSFMMBPF

  17. [$] 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 [...]

    lwn.net/Articles/1082717/ #LWN #Linux #kernel #BPF

  18. [$] Topics in filesystem testing

    It should come as no surprise that a gathering of filesystem developers would discuss filesystem testing; it has been a mainstay of the Linux Storage, Filesystem, Memory Management [...]

    lwn.net/Articles/1082342/ #LWN #Linux #kernel #Python #Git #BPF

  19. [$] Sending packets directly from BPF

    Tetragon, the BPF-based security monitoring tool, uses BPF to monitor different aspects of a running kernel and enforce user-specified policies. It sends its data to a user-space p [...]

    lwn.net/Articles/1081696/ #LWN #Linux #kernel #BPF #LSFMMBPF

  20. [$] 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 [...]

    lwn.net/Articles/1081546/ #LWN #Linux #kernel #Rust #BPF #LSFMMBPF

  21. [$] 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 [...]

    lwn.net/Articles/1081009/ #LWN #Linux #kernel #Git #BPF #LSFMMBPF

  22. BPF XDP DNS: оптимизации, которые мы заслужили (часть 1)

    Ошибки в работе компонент DNS могут приводить к инцидентам: нагрузка за секунды возрастает на порядки, а с учётом политики обработки ошибок timeout и retry на клиентах — быстро приобретает лавинообразный характер. Такое случалось в истории эксплуатации нашего внутреннего рекурсивного контура DNS. Отказы в обслуживании создавались небольшим числом внешних запросов, которые обрабатывались параллельно с внутренними. Но в результате их расследования нам удалось преодолеть фундаментальные ограничения функционирования DNS‑сервисов. Меня зовут Олег Горохов, в Yandex Infrastructure я работаю в команде управления трафиком. В этой статье поделюсь, как мы оптимизировали процессы обработки в задаче классификации и изоляции DNS‑запросов — и в итоге исключили влияние внешних запросов на внутренние благодаря перераспределению ресурсов. 2 мкс — ровно столько сейчас требуется выбранному методу для ответа на запросы в прод‑контуре. Это на три порядка быстрее , если сравнивать с традиционными ответами обычных DNS‑серверов.

    habr.com/ru/companies/yandex_c

    #bpf #xdp #dns

  23. [$] 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 [...]

    lwn.net/Articles/1079407/ #LWN #Linux #kernel #BPF

  24. [$] 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. [...]

    lwn.net/Articles/1078968/ #LWN #Linux #kernel #Git #BPF #LSFMMBPF

  25. [$] The rest of the 7.2 merge window

    Linus Torvalds released 7.2-rc1 and closed the 7.2 merge window on June 28; by that time, 13,412 non-merge commits had found their way into the mainline. That makes this the busie [...]

    lwn.net/Articles/1078539/ #LWN #Linux #kernel #Git #BPF

  26. It is fun to write #eBPF programs for #linux #kernel .
    But have you ever maintained one?

    Check out my new blog post for my experience of maintaining an eBPF program for the long term:

    kxxt.dev/blog/maintaining-a-eb

    #BPF

  27. [$] Reports from OSPM 2026, day three

    The Power Management and Scheduling in the Linux Kernel Summit, which still goes by the historical acronym OSPM, was held in Cambridge, UK, in mid-April. As has become traditional [...]

    lwn.net/Articles/1078697/ #LWN #Linux #kernel #Rust #BPF