From patchwork Thu Jun 14 19:31:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 138622 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp2531117lji; Thu, 14 Jun 2018 12:43:31 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLVbn4eaqn9Oh2v/khJn5IdJY/HYOXz5imBrjZ3UuWVVHrfi/zsD1uUYKfTcY6c17fAnXlU X-Received: by 2002:a37:70c1:: with SMTP id l184-v6mr3603566qkc.86.1529005411416; Thu, 14 Jun 2018 12:43:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529005411; cv=none; d=google.com; s=arc-20160816; b=mNo8VQ6GFQPtYDPco+7LF5LuRZjGswajTbeFRTl/vLAClOOmHZ8ZrAQ9jhjtKl1pHO U5Tj3ilctxqWCgZWEmN1MhXJz/xXf3IU9v6ZvmISckqbppukuT12IRKsTGt8Tq7IRIWK kVKgYAW11StrRXaAvhcHqpdv0JYtEmNUVkMzlIdF4mZrtz/wt+VGJJ1FzwqpGF1tNrqD 86PXeuKOC3AIEZ/Zz2xrh5OjVojX/GwdA7ls95RuEb4nmr/HgA9XZVWhgBBjSG4WbWNF kK+aT6yR0Pdsw/WwIC/VXJEjtjwCUqLQcVAuRBZH7zA3uFu7IYp6sEzj777ya9P4qYE6 D3jQ== 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=vhhCNFUqrJDXKlnB2/tWEh+9IvcZVtU+KoT4maOtE/VUDp4mctfZKO/eDQXrJlTmss dQ8KxKi1cXA3H5qLY3cd3HFXfQjTEunRlw9UmZGLI3pjuZ1ApiEjOAndBjLKOeAmFluS kcHyJAFzfPZBtwi/inuGKdphI40GxodDQtHw/2s4YK0Dx2uCrGRCdp4/U/caEiBL9fqy wYBhIOnx0EPTUljNOYTdETbfTNxkA6MGX+S1QmLwYEeBquDq7mMnjgiVnO3U6IqE2QOk hehltiTeukTLYjM0Pm0uDlLTz8DZt6yGowj5EXY0FEvw/nqwcglQjB9juAL/9gtQ8eqT H/3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="FpYk/q4p"; 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 v81-v6si6038438qkv.189.2018.06.14.12.43.31 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 14 Jun 2018 12:43:31 -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="FpYk/q4p"; 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]:42387 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTY9a-0007dw-RE for patch@linaro.org; Thu, 14 Jun 2018 15:43:30 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTXye-00073A-IK for qemu-devel@nongnu.org; Thu, 14 Jun 2018 15:32:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fTXyZ-0005nr-Sz for qemu-devel@nongnu.org; Thu, 14 Jun 2018 15:32:12 -0400 Received: from mail-pf0-x242.google.com ([2607:f8b0:400e:c00::242]:46353) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fTXyZ-0005nW-Lq for qemu-devel@nongnu.org; Thu, 14 Jun 2018 15:32:07 -0400 Received: by mail-pf0-x242.google.com with SMTP id q1-v6so3709732pff.13 for ; Thu, 14 Jun 2018 12:32:07 -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=FpYk/q4pUXIjZ3I4q6+wgyEqt49MjHvh+jJL6kcJIUBKuTaXoJnB7rBdM28iOkqyZZ DzHPyagl57zebOSjVBb6Vyh/aefUUWUZgsA1tUFuu/E65sC/JGcutflz4Lj5Il26pbGQ Bodq5AeYSF2C0uBSsrx3WrBUYJLofr+LXxYsM= 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=iFKLvFa+boeGYL1JaNSnju6FqeiWea1EvebAzEV2sBgB8lVFPGD+DZ3Ocd3TzWjsIK 3ZqZBRsNkdPkadHHAm0Qe7ZnHbY4LTUyaYymEU+mTjt0QLZvOHyqn2FcBQCqg0JTPqGI zI3t/j7TDF1Tr8Nt4ImNYWClvOP5NJxSK3hUQ6dcEYnwz6h9DtUBv+zSznTWwGIAPZcW nmex7jwlcQrwQNtl0LEKbg8+g5FfW/2RKfsniUzLtr6fOUmvAvJPdfGipLTZHuZaBH8y f9G5nBnpRrsOuEhHccKdZpH3JNRL2PAN6drct/0jNxb6EivbfnPEoWvtP5f5u9O9pJCy ZlgA== X-Gm-Message-State: APt69E3sJNVIklw9z3+4phHtcySQnyBOC9tVSqWmSyk0voQPvW9/1Qzn oO9A1/Eo3h+2oS6fNiXGqhLTr1e11Wk= X-Received: by 2002:a62:3d05:: with SMTP id k5-v6mr10792186pfa.122.1529004726530; Thu, 14 Jun 2018 12:32:06 -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 x24-v6sm11532184pfj.104.2018.06.14.12.32.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 14 Jun 2018 12:32:05 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Thu, 14 Jun 2018 09:31:37 -1000 Message-Id: <20180614193147.29680-9-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180614193147.29680-1-richard.henderson@linaro.org> References: <20180614193147.29680-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::242 Subject: [Qemu-devel] [PULL 08/18] 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