Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp60702ybg; Mon, 27 Jul 2020 23:26:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxsDfNI5+MqsOPsMmWvEXAJoZzqHBGAbqfZMWNqc17CqcBYK0EU4rMFmHHyqDCsz5IXvTtR X-Received: by 2002:aa7:d90f:: with SMTP id a15mr23823858edr.86.1595917586500; Mon, 27 Jul 2020 23:26:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595917586; cv=none; d=google.com; s=arc-20160816; b=h6mYmpmj7zd3Fd5jQKxo5ubuftvT18mb3wZztComQ1+HAQy+HKnzUi5mF6w8C8sN1O B42vu9Hjppk7H7Ho2Ujtk8NOuUiopvSc6UWmdXH1L0KWuOheRiUFuC5Spr0VKyhdqn/D h7DWPOiUoHsfr7FKHeAevgEqJQCQGWZt7pxILSsJitPYpmG2Dub1IgV2UCI4VHGDs7K2 ggRT4WhO6kaOaQFK/tKm1Sp+lNGEDjzSzgH/Q3o1xm/B/4pnD5KuTeW6saE28SFVCxsN hOQrvd1nXQZgtEywXlweSnnOpAH+HHjKKWkWorV4DQChqUwYWmnuGYlYQXmcynnKC3PH +PPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=7etnaWOwVx6vNnoAvWMwIKpf2RbffIgHQ+Ut1q/2kv8=; b=SL+D3wGf7gNM/iCzjVbT1qHEMRfGmbr3p37W5ChIoUXAxt7pInFioJmX/dMxixsXz4 2kE1urSRI/ay80/sJ2Xb3sjuLySdnGn2eYrQ6WGRP6SGYuZjUrUtw9HC7qKRyKm6mXQ0 wAD9AaA6DGM+YNDKd1yox6J25E7ZSpDha5eadC6uszFng+4ZcVwHCnvtp7PZQ1kLf65g EX41a1rhZHVExBeeBfx93EjZgsv8BlSjsZKTZ9f39+AKnHMw5uzbLC5UO5MuyjQTJJKM JArj+FsIUG/9y4CE5eTmcz009lInxPGfkvpljKu/2XGipI2MqZhjJ8ya2mHVMQ/GNVUB 4RIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tfz-net.20150623.gappssmtp.com header.s=20150623 header.b=YPBKAucS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i2si7180714edu.549.2020.07.27.23.26.03; Mon, 27 Jul 2020 23:26:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@tfz-net.20150623.gappssmtp.com header.s=20150623 header.b=YPBKAucS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727087AbgG1GZv (ORCPT + 99 others); Tue, 28 Jul 2020 02:25:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726912AbgG1GZu (ORCPT ); Tue, 28 Jul 2020 02:25:50 -0400 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64FF7C0619D2 for ; Mon, 27 Jul 2020 23:25:50 -0700 (PDT) Received: by mail-wr1-x442.google.com with SMTP id f1so16521403wro.2 for ; Mon, 27 Jul 2020 23:25:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tfz-net.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7etnaWOwVx6vNnoAvWMwIKpf2RbffIgHQ+Ut1q/2kv8=; b=YPBKAucSuaaf0P/MoRJbUS6YUlX4lgKwIHfXj8kMmn7VgUjhZkX5rNqMQtZU8B+5X/ Xc4ch8YTm38tgIYFMi9LaOKn7TYaAOgQjIxwxxdC7aG1uMFStwiaiCOqhsLIn3R7vszK SIbUHh7CNbo0zBtb1j5l8IjEVQ9tvgHYkjFitOyITdWxWZzgWed5r3I0PXE6ThDfU5HN n5YMY+nNygQOKo8PLMPqjSn4yRgjjVZiRjewR3r72lviGgzsbFu5QO6pEWTUeh0uAG09 BH9WwFswLLnlzagBOmXVavtQbx0Z9ZIWtqDvwLC+6vh1QwcCKe7UIHHwlqubNonY8FlS Wvmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7etnaWOwVx6vNnoAvWMwIKpf2RbffIgHQ+Ut1q/2kv8=; b=ZRy/ZqYJziK9IJ4JG6a/XqPCVztA0f+IkJA1N6IHxIVeQ+RLVQW9YVSowtEsrau0ZL aSwxwFTwRlYV4F+07j9WfdDme5cTB5sNtGNRI/L7CH6HRdVrr1s8DbgdBXPlIA9QYJQD VvfxNjpkWWO9boKMWGQvqw5Zs1z20h28rX5t4XFiSco3gqGhNc0l8KiykwcO72k1i5JL RYHCq5mQxKh20oGleukG0xTBc8a2AmkXM59VhYQroZzkUP/824ME7O/+wGa5Uwakn2zN +GnKp2IFTGKEb+KHV4ZOna4IVxzTlwK0V5y9lwTVKueuIWdmQi+LKuj1CEAu9kVBUgf6 HelQ== X-Gm-Message-State: AOAM531/vrCJ+Jl3rqST7YZl7PTtKi1edrU4HizwQ8g5oltmxhGsWcq/ G5G/zdjX0Ft8cjBKKa101vM4EUU+P/baXskwqS+xsg== X-Received: by 2002:a5d:40cf:: with SMTP id b15mr23050073wrq.319.1595917549191; Mon, 27 Jul 2020 23:25:49 -0700 (PDT) MIME-Version: 1.0 References: <20200725045921.2723-1-kalou@tfz.net> <20200725052236.4062-1-kalou@tfz.net> <20200727142140.GA116567@localhost.localdomain> In-Reply-To: From: Pascal Bouchareine Date: Mon, 27 Jul 2020 23:25:38 -0700 Message-ID: Subject: Re: [PATCH v3] proc,fcntl: introduce F_SET_DESCRIPTION To: Alexey Dobriyan Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-api@vger.kernel.org, Al Viro , Jeff Layton , "J. Bruce Fields" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 27, 2020 at 6:39 PM Pascal Bouchareine wrote: > > struct file is nicely aligned to 256 bytes on distro configs. > > Will this break everything? > > > > $ cat /sys/kernel/slab/filp/object_size > > Indeed on the config I'm using here this jumped to 264 bytes > > Would it be better to move this to the inode struct? I don't know the > implications of this - any other option? Well it doesn't actually make much sense to share that at that level However the above 264 is building from 5.4 without f_sb_err, so I think master already passed the 256 bytes too ?