mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH bpf-next v3 0/2] bpf, verifier: Improve precision of BPF_MUL
@ 2024-12-14 19:04 Matan Shachnai
  2024-12-14 19:04 ` [PATCH bpf-next v3 1/2] " Matan Shachnai
  2024-12-14 19:04 ` [PATCH bpf-next v3 2/2] selftests/bpf: Add testcases for BPF_MUL Matan Shachnai
  0 siblings, 2 replies; 5+ messages in thread
From: Matan Shachnai @ 2024-12-14 19:04 UTC (permalink / raw)
  To: ast
  Cc: harishankar.vishwanathan, srinivas.narayana, santosh.nagarakatte,
	m.shachnai, Matan Shachnai, Daniel Borkmann, John Fastabend,
	Andrii Nakryiko, Martin KaFai Lau, Eduard Zingerman, Song Liu,
	Yonghong Song, KP Singh, Stanislav Fomichev, Hao Luo, Jiri Olsa,
	Mykola Lysenko, Shuah Khan, Cupertino Miranda, Menglong Dong,
	bpf, linux-kernel, linux-kselftest

Hi All,

This patch-set aims to improve precision of BPF_MUL and add testcases
to illustrate precision gains using signed and unsigned bounds. 

Thanks for taking the time to review and specifically for Eduard's feedback!

Best,
Matan

Changes from v1:
 - Fixed typo made in patch

Changes from v2:
 - Added signed multiplication to BPF_MUL
 - Added test cases to exercise BPF_MUL 
 - Reordered patches in the series.

Matan Shachnai (2):
  bpf, verifier: Improve precision of BPF_MUL
  selftests/bpf: Add testcases for BPF_MUL

 kernel/bpf/verifier.c                         |  72 +++++-----
 .../selftests/bpf/progs/verifier_bounds.c     | 134 ++++++++++++++++++
 2 files changed, 166 insertions(+), 40 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2024-12-17 19:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-14 19:04 [PATCH bpf-next v3 0/2] bpf, verifier: Improve precision of BPF_MUL Matan Shachnai
2024-12-14 19:04 ` [PATCH bpf-next v3 1/2] " Matan Shachnai
2024-12-16 20:31   ` Alexei Starovoitov
2024-12-17 19:13     ` Matan Shachnai
2024-12-14 19:04 ` [PATCH bpf-next v3 2/2] selftests/bpf: Add testcases for BPF_MUL Matan Shachnai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®