From patchwork Fri Jun 15 19:43:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 138766 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp1254743lji; Fri, 15 Jun 2018 12:56:25 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIpWkWd+Yh37wKodGTeIpMP6fik+Bx8kgYfF6msac2OwB0aZhfVq+5hJtOPh+Kd6Iqxd2KB X-Received: by 2002:a37:ab04:: with SMTP id u4-v6mr2518131qke.92.1529092585179; Fri, 15 Jun 2018 12:56:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529092585; cv=none; d=google.com; s=arc-20160816; b=pQa5hrEVF8OScUh24Bk4HWkO0FYlfzzdrbJoGvlbDEZ1LDePF1SBT3touqWbGfhQAn Ua77+jvvCtJPfJ3szPZPQHPrR0MjK3Gj8pNKkkByaKzYO2L3vFmlhBEORKj8C94oP8Yk I6xlKV7jbXmidgOI99gQPLm1eO39p9MRbR6p1GULKeqiLwEQ2VrcHfL3NiVqlQo3yCDE wuVr0jo+6tlwWnlVs4dDUgomJieq3OUv8Xh+53lKJyCq9xOlOVWoU76BDxsq0E6sd0oX yuGRqZj11Cne0wcF70+lngtLxMFQ5aBkcv6K6zJtGHMD1AEGoRuyFa9IdeXtSHs7HVoy pvQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=PUl84RGj2OqEjV3sjRt0a3dQMiShyLF4sGf17shcl8g=; b=uXuwQ6ELsU/b3AuYwytIESuVA+/ymJ9bB/Uv8Y+gutAg08vqs8afSmdM2WsRymB4kS N5woraHki3KGQKqVggsYFJW4IekGxBlJwl+lKEfDB64pgiM2cxSFr7GbLhuCotv4HMGS rIqqkKrvt082dfygsmrcYTlDSX/vOmbx/VZx4JlbHnP4uo7RBRA+XJSW2f2QQVRNFgxK XHm9pUrEEJQ4P0ti4QGOSNAGa3QFTUuf693W/xSAArvnNpscPTs5KCkyT+69DJrNaydq resJyj/ce5sOlMML7haOiZONWMXZIPc4pM/5qG41bJdxHMzEcUNluzWM6I+I5FSNgf8v J4hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=crLplm91; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id o82-v6si1086276qki.221.2018.06.15.12.56.25 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 15 Jun 2018 12:56:25 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=crLplm91; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:49018 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTupc-0001bi-Li for patch@linaro.org; Fri, 15 Jun 2018 15:56:24 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51557) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTudt-0000NU-KU for qemu-devel@nongnu.org; Fri, 15 Jun 2018 15:44:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fTuds-0002Vu-18 for qemu-devel@nongnu.org; Fri, 15 Jun 2018 15:44:17 -0400 Received: from mail-pf0-x244.google.com ([2607:f8b0:400e:c00::244]:43839) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fTudr-0002VK-RC for qemu-devel@nongnu.org; Fri, 15 Jun 2018 15:44:15 -0400 Received: by mail-pf0-x244.google.com with SMTP id y8-v6so5326250pfm.10 for ; Fri, 15 Jun 2018 12:44:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=PUl84RGj2OqEjV3sjRt0a3dQMiShyLF4sGf17shcl8g=; b=crLplm91IwD0isbt/KQD+71R3MQWPV2dtRrVU4wtv5f2eMVyLbr3TBM7ji2jCOHqqO o8m3w+ew9GS+mSfmzZGEOAZM9jHN6KRzbob71lWZ1VTSSdvqyBTHkPsBENhuWZlquNvd x43rq4wW5sN/mbPswor+r84aQJTwEl4/uhG3k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=PUl84RGj2OqEjV3sjRt0a3dQMiShyLF4sGf17shcl8g=; b=iwgs5ror+ePj07bg9ZgLzIuI/oJxAWgSN6DtSUaTBD373Tayeh7fHtroSiXGmk4tDJ hq9Nz7i6qw7ALqOXBg+P+1yCGswYp3CC0T8c+gKPWpVFh5mCfXC1QL5QrIFOhFvi0Qfu twqVKynl9HfkkcMkYZhlpxHaJARQU2JFWnZYLmSzzTcmeJESe0IPhNlfWaTV1VGecW9p 6lG0uOyO6w7ub1FbW4DyV7UFuV7d9uLoeTe73wQ/bnPhW/y7lwmjOf2K5VBWGatwtalz EeaMjZj7R9XVC63u8ZVAK3D8SJDhhwHj0tALX7x9VQXhFZ358W4fnn8r6iUv/Cvz04rD cOhQ== X-Gm-Message-State: APt69E2Qtzc6uaxZBq46dYA1M2S40urX/68v2cpNN0eINNJYDVWDOP5T 1XC7xBvAZ9/70uRBzeBA3WlSxhkR7d4= X-Received: by 2002:a63:5fc1:: with SMTP id t184-v6mr2838071pgb.132.1529091854516; Fri, 15 Jun 2018 12:44:14 -0700 (PDT) Received: from cloudburst.twiddle.net (rrcs-173-198-77-219.west.biz.rr.com. [173.198.77.219]) by smtp.gmail.com with ESMTPSA id 29-v6sm14038360pfj.14.2018.06.15.12.44.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 15 Jun 2018 12:44:13 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Fri, 15 Jun 2018 09:43:43 -1000 Message-Id: <20180615194354.12489-9-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180615194354.12489-1-richard.henderson@linaro.org> References: <20180615194354.12489-1-richard.henderson@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::244 Subject: [Qemu-devel] [PULL v2 08/19] translate-all: remove hole in PageDesc X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, "Emilio G. Cota" Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: "Emilio G. Cota" Groundwork for supporting parallel TCG generation. Move the hole to the end of the struct, so that a u32 field can be added there without bloating the struct. Reviewed-by: Richard Henderson Reviewed-by: Alex Bennée Signed-off-by: Emilio G. Cota Signed-off-by: Richard Henderson --- accel/tcg/translate-all.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/accel/tcg/translate-all.c b/accel/tcg/translate-all.c index 52273e5846..b9c36a3e45 100644 --- a/accel/tcg/translate-all.c +++ b/accel/tcg/translate-all.c @@ -107,8 +107,8 @@ typedef struct PageDesc { #ifdef CONFIG_SOFTMMU /* in order to optimize self modifying code, we count the number of lookups we do to a given page to use a bitmap */ - unsigned int code_write_count; unsigned long *code_bitmap; + unsigned int code_write_count; #else unsigned long flags; #endif