Received: from eggs.gnu.org ([208.118.235.92]:34926) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvXEO-0006If-Qi for qemu-devel@nongnu.org; Wed, 16 Jan 2013 12:56:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TvXEN-0007cA-N6 for qemu-devel@nongnu.org; Wed, 16 Jan 2013 12:56:56 -0500 Received: from mx1.redhat.com ([209.132.183.28]:41341) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvXEN-0007c2-Ea for qemu-devel@nongnu.org; Wed, 16 Jan 2013 12:56:55 -0500 Message-ID: <50F6E9E3.5080504@redhat.com> Date: Wed, 16 Jan 2013 10:56:51 -0700 From: Eric Blake MIME-Version: 1.0 References: <1358349851-20960-1-git-send-email-ehabkost@redhat.com> <1358349851-20960-5-git-send-email-ehabkost@redhat.com> In-Reply-To: <1358349851-20960-5-git-send-email-ehabkost@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="----enig2NXKQJTQQPPFDPRMIBKOP" Subject: Re: [Qemu-devel] [PATCH 4/8] vl.c: Check for NUMA node limit inside numa_add() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eduardo Habkost Cc: Chegu Vinod , qemu-devel@nongnu.org, Anthony Liguori This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2NXKQJTQQPPFDPRMIBKOP Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 01/16/2013 08:24 AM, Eduardo Habkost wrote: > Instead of checking the limit before calling numa_add(), check the limi= t > only when we already know we're going to add a new node. >=20 > Signed-off-by: Eduardo Habkost > --- > Changes v2: > - Implement the change without adding numa_node_add() function > --- > vl.c | 10 ++++++---- > 1 file changed, 6 insertions(+), 4 deletions(-) Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org ------enig2NXKQJTQQPPFDPRMIBKOP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJQ9unjAAoJEKeha0olJ0NqW+gH/2nNfKKWH9jC9frGmSrhfwY+ JVjuqmS8GzRZyKzOG1EJK/GHD0aUlEOjo+HNuJ6/XLNzDVehwadYF+QgiEX7N/GD jEc+F0AQvdzMEz8r1tZdnVLO8kmGIVvP4yWxEAWkRI9rKbtiB0R+Vh2tyDetSvle iOHlJk4hoiGvc2PfDSG6QoEVABs/CSpMM4uiCaB7xrFAV+FIxLEgj8dycKewUPrp IKK/jcYBVN1ayHoge0JXdY89S/WE3yR7zEJaxgg38x+3eknQtQRIwdOErkgm8bWV KZ+xaQ/Pyf4uZmpIaZQetgW8wnyHIztPsbpSLtbvl6q10Ttowo6u3acJ1bC6wwE= =fzgm -----END PGP SIGNATURE----- ------enig2NXKQJTQQPPFDPRMIBKOP--