vmbus: add prefetch to ring buffer iterator
authorStephen Hemminger <stephen@networkplumber.org>
Sun, 25 Jun 2017 19:30:29 +0000 (12:30 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Jul 2017 15:16:05 +0000 (17:16 +0200)
commit15e1674de747d58c5a6154ba6e85bc61e5009b08
tree31ac562fa3b16908a069a5657d386957e782c7fb
parent03bad714a1619c0074eb44d6f217c505fe27030f
vmbus: add prefetch to ring buffer iterator

When iterating over incoming ring elements from the host, prefetch
the next descriptor so that it is cache hot.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/ring_buffer.c