Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5415698rdb; Wed, 13 Dec 2023 08:04:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IGDHraikqQaIyRLhRxTMVr+YsxIrnw1zVjB64qoTnVL+/yp4aWB+1xcXIBXKLHCdVtYg0TB X-Received: by 2002:a17:90a:7343:b0:286:6afe:63d1 with SMTP id j3-20020a17090a734300b002866afe63d1mr4460491pjs.11.1702483463650; Wed, 13 Dec 2023 08:04:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702483463; cv=none; d=google.com; s=arc-20160816; b=merTWWBNT0lSUAdYYaj2UZhZN77lhG5GvGo/nVCFLvb3XmcGBfi0PVSi6HZH5iiWlj Q/lB7T772WUe56Xj6+1qbK/Xg0xqiCh7Znie6181Vq/HuRUHxiAhGkzhmfJfV31ycHO8 U+azTOO8vX/FrZwATMOiWUvi4bkD3U8IJBIWpmgJynm4aTa1degaf/ahpZGSyAb7BCQK lunnYfuhXqBfUX0nFUKWICmOHsnWns7HU6IoJAnMySwlOIRnYk8l9nteVi0N2sR5XoX8 bweXDuE/9c/peedkgGFVS4R0ZDjH4WBYxswWqygcKX7CSrPFeaUDr8T5ixAo1QW9XaRz uaSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=ujJ5bOX4/yG/GztGrk3gkCn/PAMB9JMbGaB7uJw6evI=; fh=QcYYBcKe15qBAq7hV7Bm6IcfC/v7yAU0m9Z8lnQVpbI=; b=GMU+TbH2jR1m1J94oe1U7+MK4QP+Olk8L5NqDmksJNhlf+Nw+V8VTY9TyD6QryhG1X QdLEKMlYsY1DsECHgOUm2JO53R4RBugQkm0X0IGYnQreBsyzVl7e3I1nEES1om5Pthh/ JTcziYr1HcWLNlVboDvwXJubjX+OIzq6vKK3NcB3zc/DyWyTaeJ+Amoi7Na/9qq4HP0l 7022OqqyhrhfWNA0H4mFBPCRGDl9xcTc4PPABOi6Agu71Z0GCDzu0A9zU/BIUROfCIQY KXS1Gqj8V6u3Kq/1GK+ECw62xgiQ42nsx7MYIOk7MW4X2xffXH2HdSlIkp8iZ92Gujvd xNCA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id oa18-20020a17090b1bd200b00286bd949d17si9992056pjb.81.2023.12.13.08.04.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 08:04:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 8F4E78032C70; Wed, 13 Dec 2023 08:04:20 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233137AbjLMQD5 (ORCPT + 99 others); Wed, 13 Dec 2023 11:03:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233147AbjLMQDz (ORCPT ); Wed, 13 Dec 2023 11:03:55 -0500 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 267C7BD; Wed, 13 Dec 2023 08:04:02 -0800 (PST) Received: by verein.lst.de (Postfix, from userid 2407) id BDB9E68B05; Wed, 13 Dec 2023 17:03:57 +0100 (CET) Date: Wed, 13 Dec 2023 17:03:57 +0100 From: Christoph Hellwig To: Christian Brauner Cc: John Garry , axboe@kernel.dk, kbusch@kernel.org, hch@lst.de, sagi@grimberg.me, jejb@linux.ibm.com, martin.petersen@oracle.com, djwong@kernel.org, viro@zeniv.linux.org.uk, dchinner@redhat.com, jack@suse.cz, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, tytso@mit.edu, jbongio@google.com, linux-scsi@vger.kernel.org, ming.lei@redhat.com, jaswin@linux.ibm.com, bvanassche@acm.org Subject: Re: [PATCH v2 04/16] fs: Increase fmode_t size Message-ID: <20231213160357.GA9804@lst.de> References: <20231212110844.19698-1-john.g.garry@oracle.com> <20231212110844.19698-5-john.g.garry@oracle.com> <20231213-gurte-beeren-e71ff21c3c03@brauner> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231213-gurte-beeren-e71ff21c3c03@brauner> User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,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 lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 13 Dec 2023 08:04:20 -0800 (PST) On Wed, Dec 13, 2023 at 02:02:31PM +0100, Christian Brauner wrote: > > typedef unsigned int __bitwise gfp_t; > > typedef unsigned int __bitwise slab_flags_t; > > -typedef unsigned int __bitwise fmode_t; > > +typedef unsigned long __bitwise fmode_t; > > As Jan said, that's likely a bad idea. There's a bunch of places that > assume fmode_t is 32bit. So not really a change we want to make if we > can avoid it. Oh well, let me dust of my series to move the fairly static flags out of it. But even without that do we even need to increase it? There's still quite a lot of space after FMODE_EXEC for example.