Received: from eggs.gnu.org ([2001:4830:134:3::10]:33238) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYAtg-0006da-4e for qemu-devel@nongnu.org; Tue, 23 Feb 2016 06:12:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYAtc-0007JU-4f for qemu-devel@nongnu.org; Tue, 23 Feb 2016 06:12:52 -0500 Received: from e06smtp09.uk.ibm.com ([195.75.94.105]:50066) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYAtb-0007JQ-S2 for qemu-devel@nongnu.org; Tue, 23 Feb 2016 06:12:48 -0500 Received: from localhost by e06smtp09.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 23 Feb 2016 11:12:46 -0000 Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by d06dlp03.portsmouth.uk.ibm.com (Postfix) with ESMTP id 87A091B08061 for ; Tue, 23 Feb 2016 11:12:58 +0000 (GMT) Received: from d06av05.portsmouth.uk.ibm.com (d06av05.portsmouth.uk.ibm.com [9.149.37.229]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u1NBCdio3146226 for ; Tue, 23 Feb 2016 11:12:39 GMT Received: from d06av05.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av05.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u1NBCdN9019630 for ; Tue, 23 Feb 2016 04:12:39 -0700 Date: Tue, 23 Feb 2016 12:12:36 +0100 From: Cornelia Huck Message-ID: <20160223121236.6b7fa1dd.cornelia.huck@de.ibm.com> In-Reply-To: <20160217210312.GF10796@thinpad.lan.raisama.net> References: <1455656347-29033-1-git-send-email-ehabkost@redhat.com> <1455656347-29033-3-git-send-email-ehabkost@redhat.com> <20160217124313.15241a4a.cornelia.huck@de.ibm.com> <20160217210312.GF10796@thinpad.lan.raisama.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 2/4] s390x/css: Allocate channel_subsys statically List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eduardo Habkost Cc: Christian Borntraeger , Alexander Graf , Richard Henderson , qemu-devel@nongnu.org, Marcel Apfelbaum On Wed, 17 Feb 2016 19:03:12 -0200 Eduardo Habkost wrote: > On Wed, Feb 17, 2016 at 12:43:13PM +0100, Cornelia Huck wrote: > > On Tue, 16 Feb 2016 18:59:05 -0200 > > Eduardo Habkost wrote: > > > > > There's no need to use g_malloc0() to allocate the channel_subsys > > > struct, just use a static variable. > > > > The original intention was to model that dynamically somehow, but I > > don't see that happening anytime soon, so we can just keep it simple. > > > > > > > > Cc: Cornelia Huck > > > Cc: Christian Borntraeger > > > Cc: Richard Henderson > > > Cc: Alexander Graf > > > Signed-off-by: Eduardo Habkost > > > --- > > > hw/s390x/css.c | 177 ++++++++++++++++++++++++++++----------------------------- > > > 1 file changed, 88 insertions(+), 89 deletions(-) > > > > Seems fine. > > > > Should this go through the s390x tree, or will it go through another > > tree together with the other patches? In any case, have a > > > > Reviewed-by: Cornelia Huck > > Thanks! > > I was planning to merge it through the (to be created) > machine-core tree. But it may take some days until I can do that, > so feel free to merge patches 2-3 through the s390x tree if you > want to. > Applied patches 2&3 to my s390-next branch (with some small modifications on top of another change I have queued there).