Yonghong Song wrote: > > On 12/11/23 12:34 AM, Hou Tao wrote: > > From: Hou Tao <houtao1@xxxxxxxxxx> > > > > Since commit 638e4b825d52 ("bpf: Allows per-cpu maps and map-in-map in > > sleepable programs"), sleepable BPF program can also use map-in-map, but > > maybe_wait_bpf_programs() doesn't handle it accordingly. The main reason > > is that using synchronize_rcu_tasks_trace() to wait for the completions > > of these sleepable BPF programs may incur a very long delay and > > userspace may think it is hung, so the wait for sleepable BPF programs > > is skipped. Update the comments in maybe_wait_bpf_programs() to reflect > > the reason. > > > > Signed-off-by: Hou Tao <houtao1@xxxxxxxxxx> > > Acked-by: Yonghong Song <yonghong.song@xxxxxxxxx> > > Useful info if you are needing this property. Acked-by: John Fastabend <john.fastabend@xxxxxxxxx>