[lkml]   [2019]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 1/2] Drivers: hv: Specify receive buffer size using Hyper-V page size
On Wed, 24 Jul 2019 22:03:14 -0700
"Himadri Pandya" <> wrote:

> The recv_buffer is used to retrieve data from the VMbus ring buffer.
> VMbus ring buffers are sized based on the guest page size which
> Hyper-V assumes to be 4KB. But it may be different on some
> architectures. So use the Hyper-V page size to allocate the
> recv_buffer and set the maximum size to receive.
> Signed-off-by: Himadri Pandya <>

If pagesize is 64K, then doing it this way will waste lots of

 \ /
  Last update: 2019-07-26 18:09    [W:0.055 / U:2.996 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site