From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Corbet Subject: Re: [PATCH, RFC] Remove fasync() BKL usage, take 3325 Date: Wed, 28 Jan 2009 10:44:14 -0700 Message-ID: <20090128104414.09aee3f9@bike.lwn.net> References: <20090115153211.663df310@bike.lwn.net> <20090122065104.2787df2d.akpm@linux-foundation.org> <20090122203248.GA20159@infradead.org> <20090123045646.GK15750@one.firstfloor.org> <20090127165504.53ed7a2d.akpm@linux-foundation.org> <20090128031439.GA11025@redhat.com> <20090128173618.GA3174@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: <20090128173618.GA3174-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org> Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: Oleg Nesterov , Andrew Morton , Andi Kleen , hch-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, viro-3bDd1+5oDREiFSDQTTA3OLVCufUGDwFn@public.gmane.org, linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, alan-qBU/x9rampVanCEyBjwyrvXRex20P6io@public.gmane.org List-Id: linux-api@vger.kernel.org On Wed, 28 Jan 2009 12:36:18 -0500 Christoph Hellwig wrote: > ->f_flags is an unsigned int and the bit macros need an unsigned > long. Increasing the size of struct file for this is probably a bad > idea. That was my concern too, initially, but akpm told me it was OK. From earlier in the thread: > > The problem there is that this bloats struct file, and that seemed like > > something worth avoiding. > > Not a big deal, really. There's one of these for each presently-open file. > It's not like dentries and inodes, which we cache after userspace has > closed off the file handles. If others disagree, and using bitops is not an idea which will fly, I'd sure like to know sooner rather than later. jon -- To unsubscribe from this list: send the line "unsubscribe linux-api" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html