Re: [PATCH bpf-next 17/18] bpf: add bpf_wq_start

2024-04-19 Thread Benjamin Tissoires
On Apr 19 2024, Alexei Starovoitov wrote: > On Fri, Apr 19, 2024 at 8:14 AM Benjamin Tissoires wrote: > > > > > > Honestly I just felt the patch series was big enough for a PoC and > > comparison with sleepable bpf_timer. But if we think this needs not to > > be added, I guess that works too :) >

Re: [PATCH bpf-next 17/18] bpf: add bpf_wq_start

2024-04-19 Thread Alexei Starovoitov
On Fri, Apr 19, 2024 at 8:14 AM Benjamin Tissoires wrote: > > > Honestly I just felt the patch series was big enough for a PoC and > comparison with sleepable bpf_timer. But if we think this needs not to > be added, I guess that works too :) It certainly did its job to compare the two and imo

Re: [PATCH bpf-next 17/18] bpf: add bpf_wq_start

2024-04-19 Thread Benjamin Tissoires
On Apr 18 2024, Alexei Starovoitov wrote: > On Tue, Apr 16, 2024 at 04:08:30PM +0200, Benjamin Tissoires wrote: > > again, copy/paste from bpf_timer_start(). > > > > Signed-off-by: Benjamin Tissoires > > --- > > kernel/bpf/helpers.c | 24 > > 1 file changed, 24

Re: [PATCH bpf-next 17/18] bpf: add bpf_wq_start

2024-04-19 Thread Alexei Starovoitov
On Tue, Apr 16, 2024 at 04:08:30PM +0200, Benjamin Tissoires wrote: > again, copy/paste from bpf_timer_start(). > > Signed-off-by: Benjamin Tissoires > --- > kernel/bpf/helpers.c | 24 > 1 file changed, 24 insertions(+) > > diff --git a/kernel/bpf/helpers.c

[PATCH bpf-next 17/18] bpf: add bpf_wq_start

2024-04-16 Thread Benjamin Tissoires
again, copy/paste from bpf_timer_start(). Signed-off-by: Benjamin Tissoires --- kernel/bpf/helpers.c | 24 1 file changed, 24 insertions(+) diff --git a/kernel/bpf/helpers.c b/kernel/bpf/helpers.c index e5c8adc44619..ed5309a37eda 100644 --- a/kernel/bpf/helpers.c +++