From patchwork Mon Dec 1 09:04:16 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ming Lei X-Patchwork-Id: 416329 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 62C4E14014D for ; Mon, 1 Dec 2014 20:05:18 +1100 (AEDT) Received: from localhost ([::1]:53320 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XvMuy-00014f-2l for incoming@patchwork.ozlabs.org; Mon, 01 Dec 2014 04:05:16 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41230) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XvMuO-0008Qv-Di for qemu-devel@nongnu.org; Mon, 01 Dec 2014 04:04:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XvMuI-0002DJ-86 for qemu-devel@nongnu.org; Mon, 01 Dec 2014 04:04:40 -0500 Received: from mail-pa0-f41.google.com ([209.85.220.41]:65022) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XvMuI-0002DE-2y for qemu-devel@nongnu.org; Mon, 01 Dec 2014 04:04:34 -0500 Received: by mail-pa0-f41.google.com with SMTP id rd3so10679993pab.14 for ; Mon, 01 Dec 2014 01:04:33 -0800 (PST) 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=GgWt/ZLHeqk69furcEHEekoCccK728IYSVOcvHoBrEM=; b=WUgcdEC7VGlgYxZvvVRP9cQReG8SlroM5E1D/dG300JlqN9+4op6yHsOv6Nrc3bRVH bbtmslOxjYk5EjYEA6pFeI4q2AN3U25p83/gPAqth/K37YI/Q5/HoaB1ePjT7jIk8Hni hokzh/6RIBY2G+xdlE/YAnt8PsnBM3zhs1Kodii+IW9cm1V2D9Mt3aE91gR+bVm7jrAs 3qDIX+kZVWyc+THLf91wHnveV4DmKHtwW68+AcNnVI67lxZVpsQhNnMvn7rV8FZrAOk2 VWK7Qrhs3183DxHlGkseBi11i4fPP9JGUUlcjOGknWbgtQPVn0DwnyRjTIqH6j5hYixT Ooag== X-Received: by 10.66.254.164 with SMTP id aj4mr98127184pad.116.1417424673550; Mon, 01 Dec 2014 01:04:33 -0800 (PST) Received: from localhost ([183.13.122.212]) by mx.google.com with ESMTPSA id ut7sm16909309pbc.8.2014.12.01.01.04.32 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 01 Dec 2014 01:04:32 -0800 (PST) From: Ming Lei To: qemu-devel@nongnu.org, Paolo Bonzini , Stefan Hajnoczi , Kevin Wolf Date: Mon, 1 Dec 2014 17:04:16 +0800 Message-Id: <1417424656-29714-4-git-send-email-ming.lei@canonical.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1417424656-29714-1-git-send-email-ming.lei@canonical.com> References: <1417424656-29714-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.41 Cc: Ming Lei Subject: [Qemu-devel] [PATCH v7 3/3] 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. Reviewed-by: Kevin Wolf Reviewed-by: Paolo Bonzini 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 9403b17..cad3848 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; }; /*