From owner-svn-src-all@freebsd.org Wed Mar 29 17:12:25 2017 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F31D6D24DCF; Wed, 29 Mar 2017 17:12:25 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pf0-x241.google.com (mail-pf0-x241.google.com [IPv6:2607:f8b0:400e:c00::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C05E965DD7; Wed, 29 Mar 2017 17:12:25 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-pf0-x241.google.com with SMTP id p189so2572801pfp.0; Wed, 29 Mar 2017 10:12:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:mime-version:from:in-reply-to:date:cc:message-id:references :to; bh=5iS1sdZCr0IPE+hV6S3H03AM7/5ysONNKWNvhNmRqZY=; b=c69vbfbLtrvj7DJcAtjV+V2oqG6EaYhuE8ITAgdRM7IVak/s9cpTM+T9UTxF4YBkHl ufXhy3s41hEZJXDqaIRrsQAInQnUXlX1jXtO8VQDEVOhqgixBJDXF7RVzh+RlI8eJMcc QzqrKTNOjmuT4h+9jjwgUXJLO959GQlX1Avaf4QN0/JJ/XhI66MooTghbb/GhWm+kfRw R8MlIgJ7xZpaspkh5IarY7SZ86c7FT2CAQVNhmFkdOHV9cNIiRF5uIjmREszryhipKOW vxNp0ZUDhi7+W22qXv0yHDTddoLAsbAFR7kMmos++G8W6uuBL6JvLHPXA3ARMbcAVXA7 g2KQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:mime-version:from:in-reply-to:date:cc :message-id:references:to; bh=5iS1sdZCr0IPE+hV6S3H03AM7/5ysONNKWNvhNmRqZY=; b=DskwssB19rn5l0hY6VhNkEPOoZ5FgezdqTGvoIoD71nZXvf84q3O8xOnRuBoI3o+gY 10EMYBEERU7G7Y0iD2yYP7NGkythMd8PBeEE0s8V1AGfNd/s94wLgVPoH2GZjlcAoDLC mzmhzd+C8PNxdcrrJOJN83wGpKY0gMg1h2kLQI4K81B5WDRGqX2ujaJ3dq/kwNrucTBX d95TEh2QN4UT7KO86hemMf/zbIqZ5DyZcFOm/DjlFyaEC9h5LR05I0B3RdQflk1qSBuu LB38xWdN3oolA55tu/UYkP2HueXRqXGxPPO+CtCvRi7pJRfJzaWHAHGuO1zLeZZXHlUU yFBA== X-Gm-Message-State: AFeK/H2eAsoDFE7o+oKseaetfzXRmMDWHiulFGwjCZNJm920bJ/qfQrE5VaG4Ldv1m1VXg== X-Received: by 10.99.171.5 with SMTP id p5mr1635386pgf.208.1490807545158; Wed, 29 Mar 2017 10:12:25 -0700 (PDT) Received: from pinklady.local (c-73-19-52-228.hsd1.wa.comcast.net. [73.19.52.228]) by smtp.gmail.com with ESMTPSA id i3sm14649428pfg.117.2017.03.29.10.12.24 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 29 Mar 2017 10:12:24 -0700 (PDT) Subject: Re: svn commit: r316140 - stable/10/sys/dev/xen/netfront Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/signed; boundary="Apple-Mail=_B6848852-D5CC-4876-A965-444038C3A4DB"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail From: "Ngie Cooper (yaneurabeya)" In-Reply-To: <201703291534.v2TFYq2j041847@repo.freebsd.org> Date: Wed, 29 Mar 2017 10:12:23 -0700 Cc: src-committers , svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Message-Id: <4E2E5DD5-58CB-4847-8E7A-CCF6734E8904@gmail.com> References: <201703291534.v2TFYq2j041847@repo.freebsd.org> To: =?utf-8?Q?Roger_Pau_Monn=C3=A9?= X-Mailer: Apple Mail (2.3124) X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Mar 2017 17:12:26 -0000 --Apple-Mail=_B6848852-D5CC-4876-A965-444038C3A4DB Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Mar 29, 2017, at 08:34, Roger Pau Monn=C3=A9 = wrote: >=20 > Author: royger > Date: Wed Mar 29 15:34:52 2017 > New Revision: 316140 > URL: https://svnweb.freebsd.org/changeset/base/316140 >=20 > Log: > xen/netfront: release resources on removal >=20 > 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. >=20 > This is a direct commit to stable/10 because the code in newer = branches has > been completely refactored and no longer has this issue. >=20 > Reviewed by: royger > Submitted by: Ouyangzhaowei > Differential review: https://reviews.freebsd.org/D10088 Hi Roger, This broke GENERIC/i386 with a -Wformat warning, but was fixed = in r316170. Thanks! -Ngie --Apple-Mail=_B6848852-D5CC-4876-A965-444038C3A4DB Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJY2+r3AAoJEPWDqSZpMIYVmh0P/1dD97IivCZ8UKXUkIO7PW1z B8B+n9u5lUhDdovU8GopIglgHjWAPVwlX59wGBMFWyuMZOJKjhB1HM3kUrGQJNLl vVmZOLCMsexPnyeYn3qMZVSfvmJg+ZvSL3XqldvWerS+QRa5pSE+YfAz87/q1bwj R7eg1nVjrWbzRyOmlct/6vDL5EGYGJtUyTawF23R87rPcVSvFJUTzeCGRYrQprhQ trdKzhD6hoBtoUePb7M0+xhFFJyd+8pvhenLb6dtPNGztV0Wp/2PZW5AN693Ex/H EAY7bfrAerV0JyblKjMPY+JMKiUC70hpxvDIsBFN4bp9pCHtNOvU4WmEgYHVPeXo 4xJnSW0bV60DbMgBhCCiiAHNb5xbe6UHL87ZoEMrjkez3YGhtAEpbmn6KlnF3Zdl urNNftLwRJ36N0SrT014AE6w3fAJNJS76UrssNWRaLpeIDtZgsQxxfyrHtCswTjq 2ApZZqi2LSHQ6ArN7Llgk3QBnQ4XeHugQrFMO0hpRbEtj7q8SMiqO/I79nGjpEbH Pgc6c49pc0p9K4M2oW7rIPO7OeHIwZAYN+M8Ui1qTMzEnjp602KwnIIbc3/ZiKxT vq3ia0U8CvqmQHuXDOUr32wfNt1gRRcBmCbQWBIly01l1yR5Uj0FjehV6gNKvvmQ Nrk+JpBadbB4/TiPpWrg =PP3A -----END PGP SIGNATURE----- --Apple-Mail=_B6848852-D5CC-4876-A965-444038C3A4DB--