Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6746231rwd; Mon, 19 Jun 2023 11:38:58 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ50HlcvhzgBBM1IJk6vwJ5qjnX4s/4e0XHX0JhGrBahFHcxDUnU4fTTc6LfD/kbEETs6pfn X-Received: by 2002:a17:902:c115:b0:1b5:59a4:2d7f with SMTP id 21-20020a170902c11500b001b559a42d7fmr1835112pli.1.1687199938386; Mon, 19 Jun 2023 11:38:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687199938; cv=none; d=google.com; s=arc-20160816; b=otv4+uPcY2sbxnHYq2emFCmYN8Jn5r1YR649yOVefUPt8DgYLnPWiZ5t+wpEfQcCra aQASzWitZheXaXFr3OCr4qB8uzl//Rk6Gcwuhib3bZhYur+t9cDxt6yNP7nLISSTGkAc 2SI0XXM+duVb+wVBLfIdkhond6iZ1jHU6Kh0V80GeaGZ0PhU7kA1XzP+GkHX1WEHiJ2r myAjJV5xTQ+UhtiKS87gMF8zWYWX8abvP9AaLfT7mMQ4R8f5oy76w2DqzF+gtdmwrP0S Z7KGzSzK8XMm5AFDr6ObMRDOyfBNuZ6z6yQE8/g1yDLT5nQ36x3clWMjr0+SMISRbU90 HINQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Wx1ETBPrfZZVrxxt24FvjkAxC9Gt56NgyV700P1vzmk=; b=M2zCXF234C/6hS8YNcnFCkzUTjj5tIxcK3zUxocKhaEGm9v3iJzUSkMe6TYbcPfXxL LJ/qgCF4LrVm7Lt/vgu6tU953OeItaVzakjrEmym9JRRLKb90DT0vsNi/o7w5GJLwav1 8Qh5aYjejsbz/2XSZ6FKX7V+feBo0qkdm1eM4UiXQrM0mmNkW+kZHGJnQCeGeJA1j1sm cPKaHC+YUMHtUH/Qp1B8kIoZjKXWa4m+FhTfmJPx74b8de/El/Mwxo1FyQ/4RPWzmslQ iErerCfAljj+xkaabxw9vZBPpFsi5wW99OMJyI+t8X000Sg+flx3V3t6BFkuUW7yeShU POrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b=aJvD697b; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h6-20020a170902eec600b001b3d2717f7bsi292449plb.61.2023.06.19.11.38.36; Mon, 19 Jun 2023 11:38:58 -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=@wanadoo.fr header.s=t20230301 header.b=aJvD697b; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232230AbjFSSIw (ORCPT + 99 others); Mon, 19 Jun 2023 14:08:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232196AbjFSSIu (ORCPT ); Mon, 19 Jun 2023 14:08:50 -0400 Received: from smtp.smtpout.orange.fr (smtp-25.smtpout.orange.fr [80.12.242.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE1171B6 for ; Mon, 19 Jun 2023 11:08:45 -0700 (PDT) Received: from [192.168.1.18] ([86.243.2.178]) by smtp.orange.fr with ESMTPA id BJIsqZyYl2I9nBJIsq55fS; Mon, 19 Jun 2023 20:08:40 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wanadoo.fr; s=t20230301; t=1687198120; bh=Wx1ETBPrfZZVrxxt24FvjkAxC9Gt56NgyV700P1vzmk=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=aJvD697bFSvOXhI7gVn7ySiizq9VhYJ8/bcvjQhj6M/j47SVwIfZsOvhrUiSZncHc lMPrrmczuoCUo4jKMIhrcB2MONWjI6lncvMK3TvohySRKeK9arszdNON0uH8fYIP0l zbbvXwCLosHjwETZzsiqUhz0LvW9iMFna6X/KluIUVFr5qHJoRr3UWVn0TXcpK6emU Wt3HMSaEF/1EL6bCU9X+hfMuuPhfbflNkfHUhZNyjBIl9hvd0KxUUZ8vKXQcmiYWaD fKUo4Y3uCp2AKhqv8dMSrh2cZxRvhbGJNHCPoOAwvMaVYTaDfGdzB9YZBPFHs9L2py 8xIAA9TV9dxwA== X-ME-Helo: [192.168.1.18] X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Mon, 19 Jun 2023 20:08:40 +0200 X-ME-IP: 86.243.2.178 Message-ID: Date: Mon, 19 Jun 2023 20:08:38 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH] nvmet: Reorder fields in 'struct nvmet_ns' Content-Language: fr, en-US To: Chaitanya Kulkarni , Jens Axboe Cc: "linux-kernel@vger.kernel.org" , Sagi Grimberg , Christoph Hellwig , "kernel-janitors@vger.kernel.org" , "linux-nvme@lists.infradead.org" References: <3decbaf1-250b-9b73-70fd-4cb9a204c452@kernel.dk> <00537d0c-159c-a802-6ed8-209109a69660@nvidia.com> From: Christophe JAILLET In-Reply-To: <00537d0c-159c-a802-6ed8-209109a69660@nvidia.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 Le 28/04/2023 à 01:07, Chaitanya Kulkarni a écrit : > On 4/27/23 16:01, Jens Axboe wrote: >> On 4/27/23 4:59?PM, Chaitanya Kulkarni wrote: >>> On 4/27/23 12:47, Christophe JAILLET wrote: >>>> Group some variables based on their sizes to reduce holes. >>>> On x86_64, this shrinks the size of 'struct nvmet_ns' from 520 to 512 >>>> bytes. >>>> >>> Although this looks good, we at least need to document what >>> happens on other arch(s) which are not mentioned in the >>> commit log ? is there a possibility that someone might come >>> up with the contradictory data in future for the arch(s) which >>> arch that are not mentioned here ? >> The change is certainly not going to make things _worse_ for any arch, >> so I think that's somewhat of a pointless exercise and an unreasonable >> ask for something that makes sense on 64-bit arm/x86 and saves half the >> space. >> > > disregard my comment, looks good... > > Reviewed-by: Chaitanya Kulkarni > > -ck > > Hi, All my other nvmet patches have reached -next today, but this one seems to be missing. So this is a gentle reminder, in case it got lost somewhere. CJ