Received: from eggs.gnu.org ([2001:4830:134:3::10]:38687) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1du36D-0002Yo-VZ for qemu-devel@nongnu.org; Mon, 18 Sep 2017 16:57:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1du36D-0008LL-0k for qemu-devel@nongnu.org; Mon, 18 Sep 2017 16:57:02 -0400 References: <20170918202529.28379-1-el13635@mail.ntua.gr> From: Eric Blake Message-ID: <5d1bdb68-4c64-b211-6090-348d61f7f8e9@redhat.com> Date: Mon, 18 Sep 2017 15:56:52 -0500 MIME-Version: 1.0 In-Reply-To: <20170918202529.28379-1-el13635@mail.ntua.gr> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="EtiWW0mcQTWWBj038OHvm5tKuOhM2deMF" Subject: Re: [Qemu-devel] [PATCH] block/throttle-groups.c: allocate RestartData on the heap List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Manos Pitsidianakis , qemu-block Cc: Kevin Wolf , Max Reitz , Alberto Garcia , qemu-devel , qemu-stable This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --EtiWW0mcQTWWBj038OHvm5tKuOhM2deMF From: Eric Blake To: Manos Pitsidianakis , qemu-block Cc: Kevin Wolf , Max Reitz , Alberto Garcia , qemu-devel , qemu-stable Message-ID: <5d1bdb68-4c64-b211-6090-348d61f7f8e9@redhat.com> Subject: Re: [Qemu-devel] [PATCH] block/throttle-groups.c: allocate RestartData on the heap References: <20170918202529.28379-1-el13635@mail.ntua.gr> In-Reply-To: <20170918202529.28379-1-el13635@mail.ntua.gr> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 09/18/2017 03:25 PM, Manos Pitsidianakis wrote: > RestartData is the opaque data of the throttle_group_restart_queue_entr= y > coroutine. By being stack allocated, it isn't available anymore if > aio_co_enter schedules the coroutine with a bottom halve and runs after= s/halve/half/ > throttle_group_restart_queue returns. >=20 > Signed-off-by: Manos Pitsidianakis > --- > block/throttle-groups.c | 12 +++++++----- > 1 file changed, 7 insertions(+), 5 deletions(-) >=20 Reviewed-by: Eric Blake --=20 Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org --EtiWW0mcQTWWBj038OHvm5tKuOhM2deMF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEzBAEBCAAdFiEEccLMIrHEYCkn0vOqp6FrSiUnQ2oFAlnAMxQACgkQp6FrSiUn Q2q41Af+Irf3aFWnkZGD7FaSRDge0A13J+l2Iainw+WhWRfWxkbdZvgds7el+COq A+4Qxs73CKHzrEZSJmSZACFF4W9thN3Di5lN4pqdXh/tqQYlQXWex7WA7mcvkbEW zfVn+k/fubgjl+VhfA/viywZ2Pohde6+s6z0A5Pj3eXyWGPWWb7vYEq6FAAiCOl+ JtRR8fYCD4nndughq5YzxY+qRPixsiVSCX7Hp3euEOR4inAzeUkwtrUbyEJvKJe+ MOvYmbXy/ffDva5qh8+4020Fa2bYOqq78daw06ofp1s0OHcgutJTFH1tlS0m1npF XukzqCHFAaVJax4tfGEBelrLx5eEnA== =3dHu -----END PGP SIGNATURE----- --EtiWW0mcQTWWBj038OHvm5tKuOhM2deMF--