commit | 728fc8d5532b956f9c4b48dff0577fb722251343 | [log] [tgz] |
---|---|---|
author | Jason Wang <jasowang@redhat.com> | Wed May 17 12:14:39 2017 +0800 |
committer | David S. Miller <davem@davemloft.net> | Thu May 18 10:07:40 2017 -0400 |
tree | beb325bc3fb5e45282313c9532af5c8df5a85f18 | |
parent | 3acb696015a222f4b25c1b5dce4e36b2d4980da6 [diff] |
ptr_ring: introduce batch dequeuing This patch introduce a batched version of consuming, consumer can dequeue more than one pointers from the ring at a time. We don't care about the reorder of reading here so no need for compiler barrier. Signed-off-by: Jason Wang <jasowang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>