Re: [PATCH bpf-next v3] selftests/bpf: fix test_sysctl_loop{1,2} failure due to clang change

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 9, 2020 at 11:18 AM Andrii Nakryiko
<andrii.nakryiko@xxxxxxxxx> wrote:
>
> On Wed, Sep 9, 2020 at 10:16 AM Yonghong Song <yhs@xxxxxx> 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@xxxxxx>
> > Signed-off-by: Yonghong Song <yhs@xxxxxx>
> > ---
>
> LGTM.
>
> Acked-by: Andrii Nakryiko <andriin@xxxxxx>

Applied. Thanks



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux