• [$] Verifier-state pruning in BPF

    From LWN.net@1337:1/100 to All on Tue Dec 23 14:30:07 2025
    [$] Verifier-state pruning in BPF

    Date:
    Tue, 23 Dec 2025 14:29:33 +0000

    Description:
    The BPF verifier works, on a theoretical level, by considering every possible path that a BPF program could take. As a practical matter, however, it needs to
    do that in a reasonable amount of time. At the 2025 Linux Plumbers Conference , Mah Tardy and Paul Chaignon
    gave a detailed explanation
    ( slides ; video ) of
    the main mechanism that it uses to accomplish that: state pruning. They focused
    on two optimizations that help reduce the number of paths the verifier needs to
    check, and discussed some of the complications the optimizations introduced
    to the verifier's
    code.

    ======================================================================
    Link to news story:
    https://lwn.net/Articles/1050779/


    --- Mystic BBS v1.12 A49 (Linux/64)
    * Origin: tqwNet UK HUB @ hub.uk.erb.pw (1337:1/100)