Re: [PATCH bpf-next 2/3] libbpf: support sleepable progs

2020-05-28 Thread KP Singh
On 27-May 22:33, Alexei Starovoitov wrote: > From: Alexei Starovoitov > > Pass request to load program as sleepable via ".s" suffix in the section name. > If it happens in the future that all map types and helpers are allowed with > BPF_F_SLEEPABLE flag "fmod_ret/" and "lsm/" can be aliased to "f

[PATCH bpf-next 2/3] libbpf: support sleepable progs

2020-05-27 Thread Alexei Starovoitov
From: Alexei Starovoitov Pass request to load program as sleepable via ".s" suffix in the section name. If it happens in the future that all map types and helpers are allowed with BPF_F_SLEEPABLE flag "fmod_ret/" and "lsm/" can be aliased to "fmod_ret.s/" and "lsm.s/" to make all lsm and fmod_ret