From nobody Mon Feb 9 16:19:15 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; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1502150408899245.67015215658262; Mon, 7 Aug 2017 17:00:08 -0700 (PDT) Received: from localhost ([::1]:40066 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1derwN-0003im-Cy for importer@patchew.org; Mon, 07 Aug 2017 20:00:07 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47804) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1derpN-0005yZ-8y for qemu-devel@nongnu.org; Mon, 07 Aug 2017 19:53:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1derpI-0005jk-2T for qemu-devel@nongnu.org; Mon, 07 Aug 2017 19:52:53 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:46217) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1derpH-0005jE-TF for qemu-devel@nongnu.org; Mon, 07 Aug 2017 19:52:47 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 4997A20B2C; Mon, 7 Aug 2017 19:52:47 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Mon, 07 Aug 2017 19:52:47 -0400 Received: from localhost (flamenco.cs.columbia.edu [128.59.20.216]) by mail.messagingengine.com (Postfix) with ESMTPA id 0EE592479F; Mon, 7 Aug 2017 19:52:47 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=braap.org; h=cc :date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=l70 5LLlJVJkAKBvP/8K1D58R34NFA05E8QcgJut8C7k=; b=s5pUD/5kyq/I2w9E03I AEQXkpoZY7i4WaXC96k6wnTdiAgjGK/zFslPkvvrEFip8TIlEOKqzHVIXb3PbH9F YZopfe0yjg6GqdeZEWVkOSuWZBOl1AHcnD8k4pRF9jKLhN5nRVLcFhZXsVZXZsHQ rJ4ED73txRTm+1Vv3T4QU2y4= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=l705LLlJVJkAKBvP/8K1D58R34NFA05E8QcgJut8C 7k=; b=IlBtdG9TdU1VtmKzEzTKhc8Vr8rYrs4qDkEaxOlVGSim2DDz2LP8HP27z QpLL1F2RxhhspnEM1M8NmwfMLwH4VWX2Q0IoKWIxJ6p3meuH4ga1raAv/KL4cCZx 9wKc0HFXx8F5XTNPNE5yCg7ZGimUvtnNyhS+k47WAD/FlPZtmRIMCjD5Py0rMjzQ cpPXyPxsZlT8hpfwXj4/gdIlZK/hSyxflE+EzMwc9h9lpi/r82rmPIXAV7i2ah4c eTwGODCubQuB04ABMsSxkoQ0VstH1W76rLitiiS7SEcFUmX3hMA6MzR8C3ZrKrux hw3iZIpGFlHB83/cjyvZ7gH50fhZA== X-ME-Sender: X-Sasl-enc: f8EktWu++041wH24eGXq35hJMvRY0jGtJl96Fru0zRNC 1502149967 From: "Emilio G. Cota" To: qemu-devel@nongnu.org Date: Mon, 7 Aug 2017 19:52:29 -0400 Message-Id: <1502149958-23381-14-git-send-email-cota@braap.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1502149958-23381-1-git-send-email-cota@braap.org> References: <1502149958-23381-1-git-send-email-cota@braap.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.111.4.25 Subject: [Qemu-devel] [PATCH 13/22] 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: Richard Henderson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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. Signed-off-by: Emilio G. Cota --- 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 12e1252..64d099b 100644 --- a/accel/tcg/translate-all.c +++ b/accel/tcg/translate-all.c @@ -108,8 +108,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.7.4