vmbus: keep pointer to ring buffer page
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 14 Sep 2018 16:10:16 +0000 (09:10 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Sep 2018 18:33:24 +0000 (20:33 +0200)
commit52a42c2a90226dc61c99bbd0cb096deeb52c334b
tree5ed0c2c0e95fd17f12001d147442b278137be78f
parent800b932969c53c4044ff9f9fd1ee793a87fa8ef0
vmbus: keep pointer to ring buffer page

Avoid going from struct page to virt address (and back) by just
keeping pointer to the allocated pages instead of virt address.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/channel.c
drivers/uio/uio_hv_generic.c
include/linux/hyperv.h