On Wed, Sep 9, 2020 at 11:18 AM Andrii Nakryiko <andrii.nakry...@gmail.com> wrote: > > On Wed, Sep 9, 2020 at 10:16 AM Yonghong Song <y...@fb.com> wrote: > > > > Andrii reported that with latest clang, when building selftests, we have > > error likes: > > error: progs/test_sysctl_loop1.c:23:16: in function sysctl_tcp_mem i32 > > (%struct.bpf_sysctl*): > > Looks like the BPF stack limit of 512 bytes is exceeded. > > Please move large on stack variables into BPF per-cpu array map. > > > > Reported-by: Andrii Nakryiko <andr...@fb.com> > > Signed-off-by: Yonghong Song <y...@fb.com> > > --- > > LGTM. > > Acked-by: Andrii Nakryiko <andr...@fb.com>
Applied. Thanks