ring-buffer: Use kvmalloc variants for big allocations
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | ring-buffer: Use kvzalloc_objs for user mapping arrayskernel/ | +6 | 0 replies | |
| 2/4 | ring-buffer: Use kvzalloc_objs for remote buffer subbuf_idskernel/ | +5 | 0 replies | |
| 3/4 | ring-buffer: Drop redundant ring_buffer_iter::event_sizekernel/ | +4 | 2 replies | |
| 4/4 | ring-buffer: Use kvmalloc for ring_buffer_iter::eventkernel/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] ring-buffer: Use kvmalloc variants for big allocations
Several allocations in the ring buffer code scale with buffer capacity or sub-buffer order and require high-order contiguous physical memory when using plain kmalloc. Under memory fragmentation or with large buffers, these allocations can fail unnecessarily.
This series converts those allocations to their kvmalloc equivalents.
Vincent Donnefort (4):
ring-buffer: Use kvzalloc_objs for user mapping arrays
ring-buffer: Use kvzalloc_objs for remote buffer subbuf_ids
ring-buffer: Drop redundant ring_buffer_iter::event_size
ring-buffer: Use kvmalloc for ring_buffer_iter::event
kernel/trace/ring_buffer.c | 35 +++++++++++++++++++---------------- 1 file changed, 19 insertions(+), 16 deletions(-)
base-commit: 93f51579e7df248780214094418f205253383cc5
Signature · 1 line
2.55.0.1082.g2b9226bbc0-goog