summaryrefslogtreecommitdiff
path: root/lib/raid
diff options
context:
space:
mode:
authorPawan Gupta <pawan.kumar.gupta@linux.intel.com>2026-06-29 22:38:23 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2026-07-01 10:33:38 +0200
commit0bb99f2cfaae6822d734d69722de30af823efdf3 (patch)
tree0e362f71c32615a1d66f83ce70655c69d01cdabe /lib/raid
parenta3af84b0fa00ead01fcd0e28b5d773ff25990a0d (diff)
bpf: Restrict JIT predictor flush to cBPF
Currently predictor flush on memory reuse is done for all BPF JIT allocations, but only cBPF programs can be loaded by an unprivileged user. eBPF is privileged by default, and flushing predictors for all CPUs on every eBPF reuse penalizes the common case for no security benefit. eBPF allocations can be frequent on busy systems, only flush predictors for cBPF programs. Trampoline and dispatcher allocations also skip the flush as they are eBPF-only. Signed-off-by: Pawan Gupta <pawan.kumar.gupta@linux.intel.com> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'lib/raid')
0 files changed, 0 insertions, 0 deletions