netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH bpf-next 0/4] bpf: improve verifier state analysis
@ 2018-12-12  5:28 Alexei Starovoitov
  2018-12-12  5:28 ` [PATCH bpf-next 1/4] bpf: speed up stacksafe check Alexei Starovoitov
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Alexei Starovoitov @ 2018-12-12  5:28 UTC (permalink / raw)
  To: David S . Miller
  Cc: daniel, ecree, jakub.kicinski, jiong.wang, netdev, kernel-team

Several improvements to verifier state logic.
Patch 1 - trivial optimization
Patch 3 - significant optimization for stack state equivalence
Patch 4 - safety check for liveness and prep for future state merging

Alexei Starovoitov (4):
  bpf: speed up stacksafe check
  selftests/bpf: check insn processed in test_verifier
  bpf: improve stacksafe state comparison
  bpf: add self-check logic to liveness analysis

 include/linux/bpf_verifier.h                |   1 +
 kernel/bpf/verifier.c                       | 125 ++++++++++++++++++--
 tools/testing/selftests/bpf/test_verifier.c |  37 +++++-
 3 files changed, 154 insertions(+), 9 deletions(-)

-- 
2.17.1

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2018-12-13 20:02 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-12  5:28 [PATCH bpf-next 0/4] bpf: improve verifier state analysis Alexei Starovoitov
2018-12-12  5:28 ` [PATCH bpf-next 1/4] bpf: speed up stacksafe check Alexei Starovoitov
2018-12-12  5:28 ` [PATCH bpf-next 2/4] selftests/bpf: check insn processed in test_verifier Alexei Starovoitov
2018-12-12  5:28 ` [PATCH bpf-next 3/4] bpf: improve stacksafe state comparison Alexei Starovoitov
2018-12-12  5:28 ` [PATCH bpf-next 4/4] bpf: add self-check logic to liveness analysis Alexei Starovoitov
2018-12-12 20:58   ` Edward Cree
2018-12-12 22:00     ` Alexei Starovoitov
2018-12-12 22:26       ` Edward Cree
2018-12-13  0:00         ` Alexei Starovoitov
2018-12-13 20:02           ` Edward Cree
2018-12-13  1:21   ` Jakub Kicinski
2018-12-13  4:37     ` Alexei Starovoitov
2018-12-13  1:22 ` [PATCH bpf-next 0/4] bpf: improve verifier state analysis Jakub Kicinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).