From nobody Wed Feb 11 03:04:57 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (208.118.235.17 [208.118.235.17]) by mx.zohomail.com with SMTPS id 1529092551909291.08508541363346; Fri, 15 Jun 2018 12:55:51 -0700 (PDT) Received: from localhost ([::1]:49010 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTuov-0000O5-5H for importer@patchew.org; Fri, 15 Jun 2018 15:55:41 -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) 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) 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-Google-Smtp-Source: ADUXVKJ/vIC0cJEPDhBpdwmacaMkL60g1rv0O5+dF5buCgPIjngAZtsip/WzAr2JCnGMhFf54YxW0Q== X-Received: by 2002:a63:5fc1:: with SMTP id t184-v6mr2838071pgb.132.1529091854516; Fri, 15 Jun 2018 12:44:14 -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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 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=C3=A9e Signed-off-by: Emilio G. Cota Signed-off-by: Richard Henderson --- accel/tcg/translate-all.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 --=20 2.17.1