Skip to content

ring-buffer: Fixes for available memory estimation

Vincent Donnefort linux-trace-kernel lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 4 repliesIn review
  2. v11 patch 0 repliesSuperseded

Changes in v2 from the cover letter

- Add "ring-buffer: Use subbuf_order in available memory estimation"

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ring-buffer: Skip si_mem_available() for persistent and remote bufferskernel/trace/ring_buffer.c+21 -203 replies
2/2ring-buffer: Use subbuf_order in available memory estimationkernel/trace/ring_buffer.c+4 -41 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchMasami Hiramatsu (Google)
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] ring-buffer: Fixes for available memory estimation

__rb_allocate_pages() uses si_mem_available() to fail early when there is not enough memory for a ring buffer allocation. However it wasn't updated with the introduction of persistent and remote buffers and subbuf_order.

v2:
- Add "ring-buffer: Use subbuf_order in available memory estimation"

v1: https://lore.kernel.org/all/[email protected]/

Vincent Donnefort (2):
ring-buffer: Skip si_mem_available() for persistent and remote buffers
ring-buffer: Use subbuf_order in available memory estimation

 kernel/trace/ring_buffer.c | 47 +++++++++++++++++++-------------------
 1 file changed, 24 insertions(+), 23 deletions(-)

base-commit: 24a19b953e2a3d0ea5a8c4951a0ab8f32720c907

Signature · 1 line
2.56.0.385.gd3acb90ef8-goog