From patchwork Thu Sep 4 02:50:27 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ming Lei X-Patchwork-Id: 385714 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 0982914017E for ; Thu, 4 Sep 2014 12:51:30 +1000 (EST) Received: from localhost ([::1]:48526 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPN8y-0006ST-8U for incoming@patchwork.ozlabs.org; Wed, 03 Sep 2014 22:51:28 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43818) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPN8V-0005nC-OC for qemu-devel@nongnu.org; Wed, 03 Sep 2014 22:51:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XPN8P-0006Mj-M1 for qemu-devel@nongnu.org; Wed, 03 Sep 2014 22:50:59 -0400 Received: from mail-pa0-f46.google.com ([209.85.220.46]:40845) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPN8P-0006Mb-HL for qemu-devel@nongnu.org; Wed, 03 Sep 2014 22:50:53 -0400 Received: by mail-pa0-f46.google.com with SMTP id eu11so18789521pac.5 for ; Wed, 03 Sep 2014 19:50:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=6/oILm1Q4tIzhfcfLzaH8qTcmiXOhdUwObHc/s2ZIbQ=; b=JPzZ/NLXeHaV56TbjJyDohSCaLbQToVIuZlMRTIXNd0Fuf9maUXFTyxj6q1uboUszO 7QZBlHhgtSQo06h/kf1Wz1l6Wa6fRjwPDP1mdvPy0J6qXp9z9R6lMf4BKRy2HN5E5Dlg WIIbUDsJouGujR98Fx8FR13eVTSI4yN2XXaDK7+lDoMoUW92KBP0CEtHhlJT/0brnGD+ pFtXWBujdZQGg+lfB3DTL5vv4bIEuNhTkzlgkdkyojH4/lDh+7dGJCv06dP3P14tAH27 rf6zBnHJqx35fwZlMw+6wzNkXJjrhRtPD0uebnLaHfGXY6HZpPfAxJv1O1q6uAy9d/HX /26A== X-Received: by 10.70.131.40 with SMTP id oj8mr2933633pdb.47.1409799052762; Wed, 03 Sep 2014 19:50:52 -0700 (PDT) Received: from localhost ([183.14.17.164]) by mx.google.com with ESMTPSA id nh11sm227391pdb.69.2014.09.03.19.50.50 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 03 Sep 2014 19:50:51 -0700 (PDT) From: Ming Lei To: qemu-devel@nongnu.org, Peter Maydell , Paolo Bonzini , Stefan Hajnoczi , Kevin Wolf Date: Thu, 4 Sep 2014 10:50:27 +0800 Message-Id: <1409799028-24761-4-git-send-email-ming.lei@canonical.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1409799028-24761-1-git-send-email-ming.lei@canonical.com> References: <1409799028-24761-1-git-send-email-ming.lei@canonical.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.220.46 Cc: Ming Lei Subject: [Qemu-devel] [PATCH v1 3/4] linux-aio: remove 'node' from 'struct qemu_laiocb' X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org No one uses the 'node' field any more, so remove it from 'struct qemu_laiocb', and this can save 16byte for the struct on 64bit arch. Signed-off-by: Ming Lei --- block/linux-aio.c | 1 - 1 file changed, 1 deletion(-) diff --git a/block/linux-aio.c b/block/linux-aio.c index a979331..ee125bc 100644 --- a/block/linux-aio.c +++ b/block/linux-aio.c @@ -35,7 +35,6 @@ struct qemu_laiocb { size_t nbytes; QEMUIOVector *qiov; bool is_read; - QLIST_ENTRY(qemu_laiocb) node; }; /*