From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BC02CCD11DF for ; Tue, 26 Mar 2024 10:24:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=zqwmvE33o7lsYO+hPiiKoQZKb3VlSw1dmyk/iAWkFvo=; b=G06Oq1G1oqmcct JoayUrQ7K0HPTTLk51iA069GG+Sra3mk5vxOQdc6W3x3ckLgtAg71iWqhNdyyknbqnpTbjF/KQmoF txHbQt8hl645KOoBDuvBv++vEczzcNGfCxHhRBdiYqSoxEYzyKIqN4Lk+9xb5+ZLUC4WSW5XDi2Vx +VOgazsVshZ0anYbkgDbSrqkOmibO8o2bxDhKk2PpM8QVBAyO9O9JXoZJMVi+dPWtwpw7FO3BnRan tIALtSxOqma/2WS8vtLiqUS3bEtiscCL687NTKvfOXGNAjj3j33jWnyizjVgyuX0hxMPz6S4VJFdM F1xjOOAj/ZOEoF/aXTsg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rp3z1-000000042EB-0HFT; Tue, 26 Mar 2024 10:24:43 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rp3yz-000000042DT-0lzC for linux-arm-kernel@lists.infradead.org; Tue, 26 Mar 2024 10:24:42 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B44A22F4; Tue, 26 Mar 2024 03:25:13 -0700 (PDT) Received: from [10.1.197.1] (ewhatever.cambridge.arm.com [10.1.197.1]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C95053F64C; Tue, 26 Mar 2024 03:24:38 -0700 (PDT) Message-ID: <72fc0e61-175b-4f48-a980-e715d9265a08@arm.com> Date: Tue, 26 Mar 2024 10:24:37 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 2/5] KVM: arm64: Exclude host_debug_data from vcpu_arch Content-Language: en-US To: Marc Zyngier , kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org Cc: James Morse , Oliver Upton , Zenghui Yu , James Clark , Anshuman Khandual , Mark Brown , Dongli Zhang References: <20240322170945.3292593-1-maz@kernel.org> <20240322170945.3292593-3-maz@kernel.org> From: Suzuki K Poulose In-Reply-To: <20240322170945.3292593-3-maz@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240326_032441_321040_62B858E4 X-CRM114-Status: UNSURE ( 7.39 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 22/03/2024 17:09, Marc Zyngier wrote: > Keeping host_debug_state on a per-vcpu basis is completely > pointless. The lifetime of this data is only that of the inner > run-loop, which means it is never accessed outside of the core > EL2 code. > > Move the structure into kvm_host_data, and save over 500 bytes > per vcpu. > > Signed-off-by: Marc Zyngier Reviewed-by: Suzuki K Poulose _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel