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

Ngie Cooper (yaneurabeya) yaneurabeya at gmail.com
Wed Mar 29 17:12:26 UTC 2017


> 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.
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-all/attachments/20170329/67a0f58d/attachment.sig>


More information about the svn-src-all mailing list