Skip to content

KFunc bpf_preempt_enable

v6.10

Enable preemption in eBPF programs.

Definition

void bpf_preempt_enable()

Usage

This kfunc re-enables preemption in BPF programs. Nesting is allowed. See bpf_preempt_disable for more information.

Program types

The following program types can make use of this kfunc:

Example

Docs could be improved

This part of the docs is incomplete, contributions are very welcome