bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH bpf-next v3 0/3] bpf_wq followup series
@ 2024-04-30 10:43 Benjamin Tissoires
  2024-04-30 10:43 ` [PATCH bpf-next v3 1/3] bpf: do not walk twice the map on free Benjamin Tissoires
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Benjamin Tissoires @ 2024-04-30 10:43 UTC (permalink / raw)
  To: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko,
	Martin KaFai Lau, Eduard Zingerman, Song Liu, Yonghong Song,
	John Fastabend, KP Singh, Stanislav Fomichev, Hao Luo, Jiri Olsa,
	Mykola Lysenko, Shuah Khan
  Cc: bpf, linux-kernel, linux-kselftest, Benjamin Tissoires

Few patches that should have been there from day 1.

Anyway, they are coming now.

Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
---
Changes in v3:
- fixed bpf_test module not being able to be removed, because the bpf_wq
  was never freed
- Link to v2: https://lore.kernel.org/r/20240430-bpf-next-v2-0-140aa50f0f19@kernel.org

Changes in v2:
- fix wq in hashtabs not being freed (and static call not being used)
- Link to v1: https://lore.kernel.org/r/20240425-bpf-next-v1-0-1d8330e6c643@kernel.org

---
Benjamin Tissoires (3):
      bpf: do not walk twice the map on free
      bpf: do not walk twice the hash map on free
      selftests/bpf: drop an unused local variable

 kernel/bpf/arraymap.c                       | 15 ++++-----
 kernel/bpf/hashtab.c                        | 49 ++++++++---------------------
 tools/testing/selftests/bpf/prog_tests/wq.c |  2 --
 3 files changed, 21 insertions(+), 45 deletions(-)
---
base-commit: 1bba3b3d373dbafae891e7cb06b8c82c8d62aba1
change-id: 20240425-bpf-next-2114350587e3

Best regards,
-- 
Benjamin Tissoires <bentiss@kernel.org>


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

end of thread, other threads:[~2024-04-30 14:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-30 10:43 [PATCH bpf-next v3 0/3] bpf_wq followup series Benjamin Tissoires
2024-04-30 10:43 ` [PATCH bpf-next v3 1/3] bpf: do not walk twice the map on free Benjamin Tissoires
2024-04-30 12:37   ` Kumar Kartikeya Dwivedi
2024-04-30 10:43 ` [PATCH bpf-next v3 2/3] bpf: do not walk twice the hash " Benjamin Tissoires
2024-04-30 12:52   ` Kumar Kartikeya Dwivedi
2024-04-30 10:43 ` [PATCH bpf-next v3 3/3] selftests/bpf: drop an unused local variable Benjamin Tissoires
2024-04-30 12:37   ` Kumar Kartikeya Dwivedi
2024-04-30 14:40 ` [PATCH bpf-next v3 0/3] bpf_wq followup series 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;
as well as URLs for NNTP newsgroup(s).