[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190726090709.31aaeef0@hermes.lan>
Date: Fri, 26 Jul 2019 09:07:09 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: "Himadri Pandya" <himadrispandya@...il.com>
Cc: "Michael Kelley" <Michael.H.Kelley@...rosoft.com>,
"KY Srinivasan" <kys@...sages.microsoft.com>,
"Haiyang Zhang" <haiyangz@...rosoft.com>,
"Stephen Hemminger" <sthemmin@...rosoft.com>, <sashal@...nel.org>,
<linux-hyperv@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
"himadri18.07" <himadri18.07@...il.com>
Subject: Re: [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" <himadrispandya@...il.com> 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 <himadri18.07@...il.com>
If pagesize is 64K, then doing it this way will waste lots of
memory.
Powered by blists - more mailing lists