Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1831766rwl; Fri, 24 Mar 2023 16:39:31 -0700 (PDT) X-Google-Smtp-Source: AKy350aGveca52/qSjR2ejTyBfv5IxP0r7HLQCsI43hclyaEu7RSoZnq0hT+QPSk7iQ3S20n7xOl X-Received: by 2002:a05:6402:15a:b0:4ad:7a9f:a9f0 with SMTP id s26-20020a056402015a00b004ad7a9fa9f0mr4871405edu.22.1679701171166; Fri, 24 Mar 2023 16:39:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679701171; cv=none; d=google.com; s=arc-20160816; b=WvOxNA0sPsqpOLnqHs5m/2vWG7Wn3off1MYu9G8cUj9eMyJ3eTXV+/Jjt278ZPD3sW qdwMDnkVww+3luDq1Hi6BfuTH+eKJ7nMa83VYrNlbhCgq5ed1q7Ksx+VphqobIDimkkH Hj4socBi5KFA29W6VZ8gN2UMWJQZ6Ln1Mj4ooIxonmDjhjsim5ayrnWg/Zi4fxpXR/Q7 EaA9xWEB+yTLaXAcPdIS+Kv7HW3dIr4GLgzh2Y0VJgtbJ8ZWswtp2BuQUu+OvyEbWLlg dALnRs4mpSqiB4V2HbhMsTxhb0OEFS+RivgRN1PVfpqaMAHasFJw2oZ6CZ+FWYIb2stu zhuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:dkim-signature; bh=PNQHc7+j5k4G3GKWcHuPMRCfr2auT/r3lxLrkI95edk=; b=Xkl0UMN/w0mrfu9QKJ7gtqm8XUmjEMutmx0YW//fOM2lyMoHOh30UeETQdNG4JNHZk qCEjf6wLWtDXXM7qQ9iC1jgbav0ljk8Ya/cczY25g0U6wzBSpm/4PNc0UIw3uB+a8sJt 7+Z98T8YZaIa7BhQqZCUNcKuAHE7OzhXdVL/u1EAl99DqELuO87Y45WOs+ed876xCMPK OnSbYpz/OxPKgFr5G5Y/rqkwBVzE+x5z/iVZ42MtFGJP1p+TUt96OH9qcBTZhvsSDZQ7 QHRdG7N7HBA5kb/ET9dmVzXSu8fkPqrcsoboY4PfGe/4X4hUSvHQuvNXAmrNigHytvim jMoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=MM0OI7VL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q21-20020aa7da95000000b004bf5fd5d860si21147906eds.606.2023.03.24.16.38.58; Fri, 24 Mar 2023 16:39:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=MM0OI7VL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231777AbjCXXiH (ORCPT + 99 others); Fri, 24 Mar 2023 19:38:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231375AbjCXXiG (ORCPT ); Fri, 24 Mar 2023 19:38:06 -0400 Received: from mail-pf1-x44a.google.com (mail-pf1-x44a.google.com [IPv6:2607:f8b0:4864:20::44a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D03F1901D for ; Fri, 24 Mar 2023 16:38:05 -0700 (PDT) Received: by mail-pf1-x44a.google.com with SMTP id a188-20020a621ac5000000b00627e6740be6so1689019pfa.21 for ; Fri, 24 Mar 2023 16:38:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; t=1679701085; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=PNQHc7+j5k4G3GKWcHuPMRCfr2auT/r3lxLrkI95edk=; b=MM0OI7VLCDdSfmtNZQLja50LXOeRA717Ok9X0E+qZTDtW0XF5IkuOArd8+Qbvoclyj UY5Dsn5ZioFyW4Bk5KmkRZ03C/QGudsZSf7QO2BYWKNi4ws+ik0QxAKNTxzPFi7jTlNq tt/bAjdawvk6fEEnt9qZztqeHN//bLZHunD8NB5LxIauDLNfgohbRECgV9xhMr6V92F1 8rcuXRjhfH1MeEELm5l0W2IbqEtuQqWXQPVQckizW2S8gTUCb3Gs3HNvnt48W/iwziYw 2+AC0K6CtArVRyz8hkZMfKzOvItWx/NTHXtBC2rWLc++JWhH0LSZYqxTSbI6hKE48eqO dwYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679701085; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=PNQHc7+j5k4G3GKWcHuPMRCfr2auT/r3lxLrkI95edk=; b=F6ektztc03+lL2noWRhvBHhV8TqtctI3tlUrlAPKu34MZ3uCyf4/FHoZJW1cgFLAVp KcdXmv0t81pZMdDGD38CA4VnE+omEPDn/EqUp0e/Ob3mDPsXUPDL3La31jCUAM7fYNWh H/SJQnH25Xl3r08rPJenEF4lSyKD0tSdLn+H3klZtuNsr00V6f7/dyr888wnvMblvjzk mJMZ4kDCG9uSe/Bxu6F+Af+fOrprGQpljilp10mFiPED4KUJtnwcaQQGnOEDtjpMixE/ U95EL9mkr9iTGmtw2xn7xr9wxuknQVSfde7hqSoyEPhMs8NseYodH9C0fxIlu1UPTPW2 V0Jw== X-Gm-Message-State: AAQBX9f/MdTbkN89iMfXtmEsR4duDFMHA+ULuyMztemHwJxpocc2nYuK 882SBmZEvfxfDBM5NeckfFF4BpOAquY= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a05:6a00:1a0b:b0:625:4ff8:3505 with SMTP id g11-20020a056a001a0b00b006254ff83505mr2566161pfv.1.1679701085351; Fri, 24 Mar 2023 16:38:05 -0700 (PDT) Date: Fri, 24 Mar 2023 16:37:46 -0700 In-Reply-To: <20230217193336.15278-1-minipli@grsecurity.net> Mime-Version: 1.0 References: <20230217193336.15278-1-minipli@grsecurity.net> X-Mailer: git-send-email 2.40.0.348.gf938b09366-goog Message-ID: <167961301405.2556397.3492995846054138772.b4-ty@google.com> Subject: Re: [PATCH v2 0/2] KVM: Minor structure layout changes From: Sean Christopherson To: Sean Christopherson , kvm@vger.kernel.org, Mathias Krause Cc: linux-kernel@vger.kernel.org, Paolo Bonzini Content-Type: text/plain; charset="utf-8" X-Spam-Status: No, score=-7.7 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 17 Feb 2023 20:33:34 +0100, Mathias Krause wrote: > v1: https://lore.kernel.org/kvm/20230213163351.30704-1-minipli@grsecurity.net/ > > This used to be a more exhaustive patch set shrinking kvm_vcpu's size. > But we concluded that this would be too fragile to maintain and would > require a more radical layout change to group often used members > together instead of chopping off individual padding bytes. > > [...] Applied patch 1 to kvm-x86 pmu, and patch 2 to generic, thanks! [1/2] KVM: x86: Shrink struct kvm_pmu https://github.com/kvm-x86/linux/commit/12aad9164763 [2/2] KVM: Shrink struct kvm_mmu_memory_cache https://github.com/kvm-x86/linux/commit/f530b531fb9e -- https://github.com/kvm-x86/linux/tree/next https://github.com/kvm-x86/linux/tree/fixes