• [$] Implicit arguments for BPF kfuncs

    From LWN.net@1337:1/100 to All on Tuesday, January 27, 2026 15:45:08
    [$] Implicit arguments for BPF kfuncs

    Date:
    Tue, 27 Jan 2026 15:41:37 +0000

    Description:
    The kernel's "kfunc" mechanism is a way of exporting kernel functions so
    that they can be called directly from BPF programs. There are over 300
    kfuncs in current kernels, ranging in functionality from string processing
    ( bpf_strnlen() )
    to custom schedulers ( scx_bpf_kick_cpu() )
    and beyond. Sometimes these kfuncs need access to context information that
    is not directly available to BPF programs, and which thus cannot be passed
    in as arguments. The implicit
    arguments patch set from Ihor Solodrai is the latest attempt to solve
    this problem.

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


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