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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 06943C05027 for ; Fri, 17 Feb 2023 16:41:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230424AbjBQQlh (ORCPT ); Fri, 17 Feb 2023 11:41:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230464AbjBQQl2 (ORCPT ); Fri, 17 Feb 2023 11:41:28 -0500 Received: from mail-yw1-x114a.google.com (mail-yw1-x114a.google.com [IPv6:2607:f8b0:4864:20::114a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7A466D7A7 for ; Fri, 17 Feb 2023 08:41:05 -0800 (PST) Received: by mail-yw1-x114a.google.com with SMTP id 00721157ae682-53659bb998bso8012557b3.9 for ; Fri, 17 Feb 2023 08:41:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=26XswqPiBSGHP6s6nxsJN9EyGJs7UFJ3DdAuQxz9eTI=; b=QjVPkerEjWrxxjarxuiJc+xdZaWtTMwrrVkbMKx+zQ0sS+2ZceALbz7w3tw+V08q/h wZfHVB3xkCHpTjL88c17MyVIUYKcMEggb59H/DoG0w8KBqRLE9WJlC4+25UXq/SWtRhY rxuEtgMzJFQkPm+OQLT1oVlkhmWrILCyrgJLNHtCuyGjPMQ4ge94AoXcKmKShB7eLZAg mRuf3n4F4BErDTyzRdKmOFMm2TAV+/h6CpgcPfOHCAcV7pKhjb52pIVSr+2pxKDYHZ70 VgpCTIoqrp09786WrH+nhLHXZyWPckazRDQMLnUelBF05IIhtS9cik+QlNNlyHfVooHg +DwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=26XswqPiBSGHP6s6nxsJN9EyGJs7UFJ3DdAuQxz9eTI=; b=ayTdeZT4TYJAt1XANZxpksZ01F2YIG3p1opblFdBtJlQsIcFekfiFgDFdq4M1XnL/N eOTMtoZVpPoZBmyX9FrCsPOdCLVZrB5G1mtEF/CK6RG8bwQnf15/pPto8SxtJ1iDDoRe 84eUFSJDDUITb78lHNalV3GO5rJjLqvvfHfCg1KRyS+avJ6GrMYt/9ovFf12za8MvFhn N1C1Bmv3T0ACMOKbYWEel/DM6JnCOvxpX76ulp+Qi2zEyxaYQb7KJ3LA90YXyWZHTmoU SM22fVpjDfjM3gaJ1uFlA+5p1M8twfjHdHTuxTtjBD4J4MYbPd9a3C4QQF5x1Gzfnqfa iX9g== X-Gm-Message-State: AO0yUKWMmVTdPBvvYFNKRMgvrxDfEpb8S7IEh4GL4u/ccH3fSc1TTEOF xHi/WSnzdc4cPMQkZWrEPs6arYoWAPk= X-Google-Smtp-Source: AK7set87ApVahS7blZenNrptYr3Ndt+wNPJw2gc7DMQ+lKkl6rWB22TCh2FKD8Zi8efKfBlmA8lkGKpHUiw= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a5b:64a:0:b0:965:fa76:ae7a with SMTP id o10-20020a5b064a000000b00965fa76ae7amr688504ybq.16.1676652064456; Fri, 17 Feb 2023 08:41:04 -0800 (PST) Date: Fri, 17 Feb 2023 08:41:02 -0800 In-Reply-To: Mime-Version: 1.0 References: Message-ID: Subject: Re: [PATCH] KVM: Reorder fields in 'struct kvm_mmu_memory_cache' From: Sean Christopherson To: Christophe JAILLET Cc: Paolo Bonzini , linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, kvm@vger.kernel.org, Mathias Krause Content-Type: text/plain; charset="us-ascii" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 17, 2023, Christophe JAILLET wrote: > Group some variables based on their sizes to reduce hole and avoid padding. > On x86_64, this shrinks the size from 40 to 32 bytes. Heh, a hair too late[*]. Unless I'm mistaken, Mathias will be sending a new version in the not-too-distant future. Thanks! [*] https://lore.kernel.org/all/Y+puefrgtqf430fs@google.com