[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181213194234.2071587-1-ast@kernel.org>
Date: Thu, 13 Dec 2018 11:42:30 -0800
From: Alexei Starovoitov <ast@...nel.org>
To: "David S . Miller" <davem@...emloft.net>
CC: <daniel@...earbox.net>, <ecree@...arflare.com>,
<jakub.kicinski@...ronome.com>, <jiong.wang@...ronome.com>,
<netdev@...r.kernel.org>, <kernel-team@...com>
Subject: [PATCH v2 bpf-next 0/4] bpf: improve verifier state analysis
v1->v2:
with optimization suggested by Jakub patch 4 safety check became cheap enough.
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
Powered by blists - more mailing lists