public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH bpf-next v4 0/2] bpf, verifier: Improve precision of BPF_MUL
@ 2024-12-18  3:23 Matan Shachnai
  2024-12-18  3:23 ` [PATCH bpf-next v4 1/2] " Matan Shachnai
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Matan Shachnai @ 2024-12-18  3:23 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 for all the 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.

Changes from v3:
 - Coding style fixes.

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

 kernel/bpf/verifier.c                         |  80 +++++------
 .../selftests/bpf/progs/verifier_bounds.c     | 134 ++++++++++++++++++
 2 files changed, 170 insertions(+), 44 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2024-12-30 23:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-18  3:23 [PATCH bpf-next v4 0/2] bpf, verifier: Improve precision of BPF_MUL Matan Shachnai
2024-12-18  3:23 ` [PATCH bpf-next v4 1/2] " Matan Shachnai
2024-12-18  3:23 ` [PATCH bpf-next v4 2/2] selftests/bpf: Add testcases for BPF_MUL Matan Shachnai
2024-12-30 23:00 ` [PATCH bpf-next v4 0/2] bpf, verifier: Improve precision of BPF_MUL patchwork-bot+netdevbpf

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