]> asedeno.scripts.mit.edu Git - linux.git/commit
Drivers: hv: util: Specify ring buffer size using Hyper-V page size
authorHimadri Pandya <himadrispandya@gmail.com>
Thu, 25 Jul 2019 05:03:15 +0000 (05:03 +0000)
committerSasha Levin <sashal@kernel.org>
Fri, 22 Nov 2019 01:10:45 +0000 (20:10 -0500)
commit0541a225945d5e0d650353f51614812aa820c6be
treeb9a8eebc258ab5fd876af0e5f788aeedf5e8fa2d
parentb14d749ac5abdf311321172ae11e6ad1be4293e9
Drivers: hv: util: Specify ring buffer size using Hyper-V page size

VMbus ring buffers are sized based on the 4K page size used by
Hyper-V. The Linux guest page size may not be 4K on all architectures
so use the Hyper-V page size to specify the ring buffer size.

Signed-off-by: Himadri Pandya <himadri18.07@gmail.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/hv/hv_util.c