tracing/remotes: Fix leak in trace_remote_alloc_buffer() error path
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 5 repliesIn review
- v11 patch 2 repliesSuperseded
Changes in v2 from the cover letter
- Leak fix: increment nr_cpus early (after meta_va allocation) instead of in the error path.
- Added struct_len double-counting fix.
- Added sparse CPU masks support in ring_buffer_desc().
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | tracing/remotes: Fix leak in trace_remote_alloc_buffer() error pathkernel/ | +2 | 5 replies | |
| 2/3 | tracing/remotes: Fix struct_len in trace_remote_alloc_buffer()kernel/ | +4 | 0 replies | |
| 3/3 | ring-buffer: Allow sparse CPU masks in ring_buffer_desc()kernel/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/3] tracing/remotes: Fix leak in trace_remote_alloc_buffer() error path
This series addresses a few issues in the trace remote buffers allocation and descriptor handling, mostly reported by Sashiko bot on top of v1.
Changelog:
v1 -> v2:
- Leak fix: increment nr_cpus early (after meta_va allocation) instead of in the error path.
- Added struct_len double-counting fix.
- Added sparse CPU masks support in ring_buffer_desc().
v1: https://lore.kernel.org/all/[email protected]/
Vincent Donnefort (3):
tracing/remotes: Fix leak in trace_remote_alloc_buffer() error path tracing/remotes: Fix struct_len in trace_remote_alloc_buffer()
ring-buffer: Allow sparse CPU masks in ring_buffer_desc()
kernel/trace/ring_buffer.c | 5 +---- kernel/trace/trace_remote.c | 18 ++++++------------ 2 files changed, 7 insertions(+), 16 deletions(-)
base-commit: 8cdeaa50eae8dad34885515f62559ee83e7e8dda
Signature · 1 line
2.55.0.795.g602f6c329a-goog