]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'filter-next'
authorDavid S. Miller <davem@davemloft.net>
Mon, 12 May 2014 04:25:51 +0000 (00:25 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 May 2014 04:25:51 +0000 (00:25 -0400)
commitcc8f4d78e11993291ff5bbf1345cf8bc0ffa86f5
treeaa3f671c1be28e93a6951e51fc669fb32520d89b
parentb12644486f27c3b513638b3874326ee859335d50
parent7c75ee4d95f10412fce1a739dbedf4b8532a85ba
Merge branch 'filter-next'

Alexei Starovoitov says:

====================
BPF testsuite and cleanup

This patchset adds BPF testsuite and improves readability of classic
to internal BPF converter.

The testsuite helped to find 'negative offset bug' in x64 JIT that was
fixed by commit 68dff3ef ("x86: bpf_jit: support negative offsets")

It can be very useful for classic and internal JIT compiler developers.
Also it serves as performance benchmark.

x86_64/i386 pass all tests with and without JIT. arm32 JIT is failing
negative offset tests which are unsupported.

Internal BPF tests are much larger than classic tests to cover different
combinations of registers. Negative tests check correctness of classic
BPF verifier which must reject them.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>