linux_dsm_epyc7002/drivers/hv
Vitaly Kuznetsov 9988ce6856 Drivers: hv: ring_buffer: wrap around mappings for ring buffers
Make it possible to always use a single memcpy() or to provide a direct
link to a packet on the ring buffer by creating virtual mapping for two
copies of the ring buffer with vmap(). Utilize currently empty
hv_ringbuffer_cleanup() to do the unmap.

While on it, replace sizeof(struct hv_ring_buffer) check
in hv_ringbuffer_init() with BUILD_BUG_ON() as it is a compile time check.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Tested-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-09-02 17:22:51 +02:00
..
channel_mgmt.c Drivers: hv: vmbus: Enable explicit signaling policy for NIC channels 2016-08-31 13:05:41 +02:00
channel.c Drivers: hv: ring_buffer: wrap around mappings for ring buffers 2016-09-02 17:22:51 +02:00
connection.c Drivers: hv: vmbus: Reduce the delay between retries in vmbus_post_msg() 2016-08-31 13:05:41 +02:00
hv_balloon.c Drivers: hv: balloon: Use available memory value in pressure report 2016-08-31 13:05:42 +02:00
hv_fcopy.c Drivers: hv: utils: fix a race on userspace daemons registration 2016-08-31 13:05:41 +02:00
hv_kvp.c Drivers: hv: utils: fix a race on userspace daemons registration 2016-08-31 13:05:41 +02:00
hv_snapshot.c Drivers: hv: utils: fix a race on userspace daemons registration 2016-08-31 13:05:41 +02:00
hv_util.c Drivers: hv: util: Pass the channel information during the init call 2016-03-01 16:57:20 -08:00
hv_utils_transport.c Drivers: hv: utils: fix a race on userspace daemons registration 2016-08-31 13:05:41 +02:00
hv_utils_transport.h Drivers: hv: utils: fix a race on userspace daemons registration 2016-08-31 13:05:41 +02:00
hv.c Drivers: hv: avoid vfree() on crash 2016-08-31 13:05:40 +02:00
hyperv_vmbus.h Drivers: hv: ring_buffer: wrap around mappings for ring buffers 2016-09-02 17:22:51 +02:00
Kconfig x86: Make Linux guest support optional 2013-03-04 13:14:25 -08:00
Makefile Drivers: hv: util: introduce hv_utils_transport abstraction 2015-05-24 12:17:41 -07:00
ring_buffer.c Drivers: hv: ring_buffer: wrap around mappings for ring buffers 2016-09-02 17:22:51 +02:00
vmbus_drv.c Drivers: hv: avoid vfree() on crash 2016-08-31 13:05:40 +02:00