Re: [PATCH RFC bpf-next v3 02/16] bpf/verifier: introduce in_sleepable() helper

2024-02-23 Thread Benjamin Tissoires
On Feb 22 2024, Alexei Starovoitov wrote: > On Wed, Feb 21, 2024 at 8:25 AM Benjamin Tissoires wrote: > > @@ -18193,7 +18198,7 @@ static int resolve_pseudo_ldimm64(struct > > bpf_verifier_env *env) > > return -E2BIG; > > } > > > > -

Re: [PATCH RFC bpf-next v3 02/16] bpf/verifier: introduce in_sleepable() helper

2024-02-22 Thread Alexei Starovoitov
On Wed, Feb 21, 2024 at 8:25 AM Benjamin Tissoires wrote: > @@ -18193,7 +18198,7 @@ static int resolve_pseudo_ldimm64(struct > bpf_verifier_env *env) > return -E2BIG; > } > > - if (env->prog->aux->sleepable) > +

[PATCH RFC bpf-next v3 02/16] bpf/verifier: introduce in_sleepable() helper

2024-02-21 Thread Benjamin Tissoires
No code change, but it'll allow to have only one place to change everything when we add in_sleepable in cur_state. Signed-off-by: Benjamin Tissoires --- no changes in v3 changes in v2 (compared to the one attaches to v1 0/9): - dropped the cur_state flag, so it can be put first ---