On Sat, 20 Jun 2020 00:57:20 +0200
Lorenzo Bianconi <lore...@kernel.org> wrote:

> @@ -260,10 +322,11 @@ static int cpu_map_kthread_run(void *data)
>                * kthread CPU pinned. Lockless access to ptr_ring
>                * consume side valid as no-resize allowed of queue.
>                */
> -             n = ptr_ring_consume_batched(rcpu->queue, frames, CPUMAP_BATCH);
> +             n = ptr_ring_consume_batched(rcpu->queue, xdp_frames,
> +                                          CPUMAP_BATCH);

This should have used the non-lock variant __ ptr_ring_consume_batched().
It did before, but I can see in git-history that this is this is a
bug/issue I introduced myself earlier... ups.

-- 
Best regards,
  Jesper Dangaard Brouer
  MSc.CS, Principal Kernel Engineer at Red Hat
  LinkedIn: http://www.linkedin.com/in/brouer

Reply via email to