[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAADnVQLsRmY2oXY58H_TpQLxNztw6vm0MY9sxr5a+Wt5FFMrEQ@mail.gmail.com>
Date: Wed, 9 Sep 2020 11:26:21 -0700
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Andrii Nakryiko <andrii.nakryiko@...il.com>
Cc: Yonghong Song <yhs@...com>, bpf <bpf@...r.kernel.org>,
Networking <netdev@...r.kernel.org>,
Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Kernel Team <kernel-team@...com>,
Andrii Nakryiko <andriin@...com>
Subject: Re: [PATCH bpf-next v3] selftests/bpf: fix test_sysctl_loop{1,2}
failure due to clang change
On Wed, Sep 9, 2020 at 11:18 AM Andrii Nakryiko
<andrii.nakryiko@...il.com> wrote:
>
> On Wed, Sep 9, 2020 at 10:16 AM Yonghong Song <yhs@...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 <andriin@...com>
> > Signed-off-by: Yonghong Song <yhs@...com>
> > ---
>
> LGTM.
>
> Acked-by: Andrii Nakryiko <andriin@...com>
Applied. Thanks
Powered by blists - more mailing lists