| From | Thomas Gleixner <> | Subject | Re: [patch V3 10/22] bpf: Provide bpf_prog_run_pin_on_cpu() helper | Date | Mon, 24 Feb 2020 19:14:11 +0100 |
| |
Thomas Gleixner <tglx@linutronix.de> writes: > + * preempt_disable/enable(), i.e. it disables also preemption. > + */ > +static inline u32 bpf_prog_run_pin_on_cpu(const struct bpf_prog *prog, > + void *ctx)
I'm a moron. Let me resend this one.
> +{ > + u32 ret; > + > + migrate_disable(); > + ret = __BPF_PROG_RUN(prog, ctx, bpf_dispatcher_nopfunc); > + migrate_enable(); > + return ret; > +} > > #define BPF_SKB_CB_LEN QDISC_CB_PRIV_LEN >
|