svn commit: r316140 - stable/10/sys/dev/xen/netfront

Ngie Cooper (yaneurabeya) yaneurabeya at gmail.com
Thu Mar 30 08:46:23 UTC 2017


> On Mar 30, 2017, at 01:36, Roger Pau Monné <royger at FreeBSD.org> wrote:
> 
> On Wed, Mar 29, 2017 at 10:12:23AM -0700, Ngie Cooper (yaneurabeya) wrote:
>> 
>>> On Mar 29, 2017, at 08:34, Roger Pau Monné <royger at FreeBSD.org> wrote:
>>> 
>>> Author: royger
>>> Date: Wed Mar 29 15:34:52 2017
>>> New Revision: 316140
>>> URL: https://svnweb.freebsd.org/changeset/base/316140
>>> 
>>> Log:
>>> xen/netfront: release resources on removal
>>> 
>>> Current netfront code doesn't release the resources (grants and mbufs) on
>>> removal. Add a new helper that releases the resources, so FreeBSD doesn't run
>>> out of grants or memory when performing heavy hotplug/unplug of Xen PV nic
>>> devices.
>>> 
>>> This is a direct commit to stable/10 because the code in newer branches has
>>> been completely refactored and no longer has this issue.
>>> 
>>> Reviewed by:		royger
>>> Submitted by:		Ouyangzhaowei <ouyangzhaowei at huawei.com>
>>> Differential review:	https://reviews.freebsd.org/D10088
>> 
>> Hi Roger,
>> 	This broke GENERIC/i386 with a -Wformat warning, but was fixed in r316170.
> 
> Sight. It was supposedly "thoroughly tested". Sorry for the breakage and thanks
> for the fix!

Np! I just wanted to make sure you were aware of the change, in the event that it needed to work its way back into the vendor tree.
Thanks!
-Ngie

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/svn-src-stable-10/attachments/20170330/9c3781b2/attachment.sig>


More information about the svn-src-stable-10 mailing list