Received: from eggs.gnu.org ([2001:4830:134:3::10]:43345) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dufDM-0004Kp-5j for qemu-devel@nongnu.org; Wed, 20 Sep 2017 09:39:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dufDL-0002o3-Af for qemu-devel@nongnu.org; Wed, 20 Sep 2017 09:38:56 -0400 From: Alberto Garcia In-Reply-To: <20170918202529.28379-1-el13635@mail.ntua.gr> References: <20170918202529.28379-1-el13635@mail.ntua.gr> Date: Wed, 20 Sep 2017 11:25:09 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain 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: qemu-devel , qemu-stable , Kevin Wolf , Max Reitz On Mon 18 Sep 2017 10:25:29 PM CEST, Manos Pitsidianakis wrote: > RestartData is the opaque data of the throttle_group_restart_queue_entry > coroutine. By being stack allocated, it isn't available anymore if > aio_co_enter schedules the coroutine with a bottom halve and runs after > throttle_group_restart_queue returns. > > Signed-off-by: Manos Pitsidianakis Reviewed-by: Alberto Garcia Berto