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 -- 2.55.0.1082.g2b9226bbc0-goog
