From: Haiyang Zhang <haiyangz@microsoft.com>
To: Sitsofe Wheeler <sitsofe@gmail.com>
Cc: KY Srinivasan <kys@microsoft.com>,
"David S. Miller" <davem@davemloft.net>,
"devel@linuxdriverproject.org" <devel@linuxdriverproject.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: RE: [BISECTED][REGRESSION] Loading Hyper-V network drivers is racy in 3.14+ on Hyper-V 2012 R2
Date: Mon, 14 Jul 2014 22:39:48 +0000 [thread overview]
Message-ID: <8b68f48141a045f784c10f9c081cd51f@DFM-DB3MBX15-06.exchange.corp.microsoft.com> (raw)
In-Reply-To: <20140714213032.GA23639@sucs.org>
> -----Original Message-----
> From: Sitsofe Wheeler [mailto:sitsofe@gmail.com]
> Sent: Monday, July 14, 2014 5:31 PM
> To: Haiyang Zhang
> Cc: KY Srinivasan; David S. Miller; devel@linuxdriverproject.org; linux-
> kernel@vger.kernel.org; netdev@vger.kernel.org
> Subject: Re: [BISECTED][REGRESSION] Loading Hyper-V network drivers is
> racy in 3.14+ on Hyper-V 2012 R2
>
> On Fri, Jul 11, 2014 at 03:25:11PM +0000, Haiyang Zhang wrote:
> > Since you found the commit b679ef73edc is related to this problem,
> > could you do a simple test:
> > Reduce the receive buffer size back to 2MB, like below, then re-test
> > it, see if the problem goes away?
> > drivers/net/hyperv/hyperv_net.h
> > #define NETVSC_RECEIVE_BUFFER_SIZE (1024*1024*2) /* 2MB
> */
>
> After doing this I was able to reach over 900 reboots where the network
> connected properly.
Thanks for the tests! I will make a patch that can automatically retry
smaller memory allocs when memory is insufficient.
Thanks,
- Haiyang
next prev parent reply other threads:[~2014-07-14 22:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-06 20:18 Sitsofe Wheeler
2014-07-07 16:54 ` Haiyang Zhang
2014-07-07 18:13 ` Sitsofe Wheeler
2014-07-11 5:52 ` Sitsofe Wheeler
2014-07-11 15:25 ` Haiyang Zhang
2014-07-14 21:30 ` Sitsofe Wheeler
2014-07-14 22:39 ` Haiyang Zhang [this message]
2014-07-15 5:08 ` Sitsofe Wheeler
2014-07-18 21:30 ` Haiyang Zhang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8b68f48141a045f784c10f9c081cd51f@DFM-DB3MBX15-06.exchange.corp.microsoft.com \
--to=haiyangz@microsoft.com \
--cc=davem@davemloft.net \
--cc=devel@linuxdriverproject.org \
--cc=kys@microsoft.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=sitsofe@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®