[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <BLUPR03MB141050990AB0D651168EA8EFBF4A0@BLUPR03MB1410.namprd03.prod.outlook.com>
Date: Thu, 19 May 2016 05:41:55 +0000
From: Dexuan Cui <decui@...rosoft.com>
To: David Miller <davem@...emloft.net>
CC: KY Srinivasan <kys@...rosoft.com>,
"olaf@...fle.de" <olaf@...fle.de>,
"gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>,
"jasowang@...hat.com" <jasowang@...hat.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"joe@...ches.com" <joe@...ches.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"apw@...onical.com" <apw@...onical.com>,
"devel@...uxdriverproject.org" <devel@...uxdriverproject.org>,
Haiyang Zhang <haiyangz@...rosoft.com>
Subject: RE: [PATCH v11 net-next 0/1] introduce Hyper-V VM Sockets(hv_sock)
> From: David Miller [mailto:davem@...emloft.net]
> Sent: Thursday, May 19, 2016 12:13
> To: Dexuan Cui <decui@...rosoft.com>
> Cc: KY Srinivasan <kys@...rosoft.com>; olaf@...fle.de;
> gregkh@...uxfoundation.org; jasowang@...hat.com; linux-
> kernel@...r.kernel.org; joe@...ches.com; netdev@...r.kernel.org;
> apw@...onical.com; devel@...uxdriverproject.org; Haiyang Zhang
> <haiyangz@...rosoft.com>
> Subject: Re: [PATCH v11 net-next 0/1] introduce Hyper-V VM Sockets(hv_sock)
>
>
> I'm travelling and very busy with the merge window. So sorry I won't be able
> to think about this for some time.
David,
Sure, I understand.
Please let me recap my last mail:
1) I'll replace my statically-allocated per-connection "send/recv bufs" with
dynamically ones, so no buf is used when there is no traffic.
2) Another kind of bufs i.e., the multi-page "VMBus send/recv ringbuffer", is
a must IMO due to the host side's design of the feature: every connection needs
its own ringbuffer, which takes several pages (2~3 pages at least. And, 5 pages
should suffice for good performance). The ringbuffer can be accessed by the
host at any time, so IMO the pages can't be swappable.
I understand net-next is closed now. I'm going to post the next version
after 4.7-rc1 is out in several weeks.
If you could give me some suggestions, I would be definitely happy to take.
Thanks!
-- Dexuan
Powered by blists - more mailing lists