From patchwork Thu Sep 4 16:27:09 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ming Lei X-Patchwork-Id: 385895 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 978E414017F for ; Fri, 5 Sep 2014 02:29:02 +1000 (EST) Received: from localhost ([::1]:52512 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPZu8-0002XE-GM for incoming@patchwork.ozlabs.org; Thu, 04 Sep 2014 12:29:00 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56747) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPZtV-0001NX-3V for qemu-devel@nongnu.org; Thu, 04 Sep 2014 12:28:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XPZtO-0002U7-Uo for qemu-devel@nongnu.org; Thu, 04 Sep 2014 12:28:21 -0400 Received: from mail-pd0-f180.google.com ([209.85.192.180]:49169) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPZtO-0002Tz-Nr for qemu-devel@nongnu.org; Thu, 04 Sep 2014 12:28:14 -0400 Received: by mail-pd0-f180.google.com with SMTP id p10so13977395pdj.39 for ; Thu, 04 Sep 2014 09:28:10 -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=IZcqt2vDtPCduG9XR1n9BPtxiQgS8uXdUQC6I6LF82c=; b=KgT+ckfGwQDkQAYkBKtDZ73O57xipWxRa1CD+ns7bwjkx+j4a+jWCq36lmWHa1f4vA /xyZePkVx8ie1jvd4f6niDlCK3qX3phaPFT3yMRZUk7UDatc7uICse52E5535K6EIbmZ 5ovn25YT6evQVrixuPxtTR9odYvhhfO3WhfB6N2EkudpRCkEfu/JWfrzEgeyP1NwPpNf UB8jB/RVEzQgr9V2G+mCdRHlS3MZd5pqKWOCg1gh3RKiLHYRkADD0znRtTSApUZrDuxa mSWfUrboSCztmbVc0wC75eN34P4fHZt9KgTENVz3/Wj8/2RVA7RmtS1ZQeQXlIZa/dkk Focg== X-Received: by 10.67.12.175 with SMTP id er15mr10089703pad.143.1409848090117; Thu, 04 Sep 2014 09:28:10 -0700 (PDT) Received: from localhost ([183.14.17.164]) by mx.google.com with ESMTPSA id l4sm2074296pbq.49.2014.09.04.09.28.07 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 04 Sep 2014 09:28:08 -0700 (PDT) From: Ming Lei To: qemu-devel@nongnu.org, Peter Maydell , Paolo Bonzini , Stefan Hajnoczi , Kevin Wolf Date: Fri, 5 Sep 2014 00:27:09 +0800 Message-Id: <1409848030-16568-4-git-send-email-ming.lei@canonical.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1409848030-16568-1-git-send-email-ming.lei@canonical.com> References: <1409848030-16568-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.192.180 Cc: =?UTF-8?q?Beno=C3=AEt=20Canet?= , Ming Lei Subject: [Qemu-devel] [PATCH v2 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 20a87ec..f45a142 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; }; /*