Skip to content

SCX eBPF macro scx_bpf_reenqueue_local

v6.19

The scx_bpf_reenqueue_local macro wraps the scx_bpf_reenqueue_local and scx_bpf_reenqueue_local___v2 kfuncs. It implements the CO-RE logic needed to select the proper kfunc to use depending on the kernel being used.

Definition

static inline void scx_bpf_reenqueue_local(void)
{
    if (__COMPAT_scx_bpf_reenqueue_local_from_anywhere())
        scx_bpf_reenqueue_local___v2___compat();
    else
        scx_bpf_reenqueue_local___v1();
}

Usage

See scx_bpf_reenqueue_local