Re: [5.4.y] selftests/bpf build broken by "bpf: Zero-fill..."

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

 



On Fri, Dec 04, 2020 at 10:28:46AM -0800, Kamal Mostafa wrote:
> Hi Sasha-
> 
> This v5.4.78 commit breaks the tools/testing/selftests/bpf build:
> 
> [linux-5.4.y] c602ad2b52dc bpf: Zero-fill re-used per-cpu map element
> 
> Like this:
> 
> 	prog_tests/map_init.c:5:10: fatal error: test_map_init.skel.h: No such file or directory
> 	    5 | #include "test_map_init.skel.h"
> 
> Because tools/testing/selftests/bpf/Makefile in v5.4 does not have the
> "skeleton header generation" stuff (circa v5.6).
> 
> Reverting c602ad2b52dc from linux-5.4.y fixes it.

Another option would be to just drop the selftest from linux-5.4.y,
but keep the beneficial change to kernel/bpf/hashtab.c.

(We're leaning towards that approach for Ubuntu).

 -Kamal




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux