From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A452AC432C3 for ; Fri, 15 Nov 2019 17:39:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7DFA720733 for ; Fri, 15 Nov 2019 17:39:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727614AbfKORjV (ORCPT ); Fri, 15 Nov 2019 12:39:21 -0500 Received: from outgoing-auth-1.mit.edu ([18.9.28.11]:47291 "EHLO outgoing.mit.edu" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727540AbfKORjV (ORCPT ); Fri, 15 Nov 2019 12:39:21 -0500 Received: from callcc.thunk.org (guestnat-104-133-0-98.corp.google.com [104.133.0.98] (may be forged)) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id xAFHaY5K020802 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 15 Nov 2019 12:36:35 -0500 Received: by callcc.thunk.org (Postfix, from userid 15806) id 64D724202FD; Fri, 15 Nov 2019 12:36:34 -0500 (EST) Date: Fri, 15 Nov 2019 12:36:34 -0500 From: "Theodore Y. Ts'o" To: Jan Kara Cc: Sebastian Siewior , Thomas Gleixner , Matthew Wilcox , LKML , linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org, Peter Zijlstra , Ingo Molnar , Anna-Maria Gleixner , Steven Rostedt , Julia Cartwright , Alexander Viro , Jan Kara , Mark Fasheh , Joseph Qi , Christoph Hellwig , Joel Becker Subject: Re: [PATCH] fs/buffer: Make BH_Uptodate_Lock bit_spin_lock a regular spinlock_t Message-ID: <20191115173634.GC23689@mit.edu> References: <20190820170818.oldsdoumzashhcgh@linutronix.de> <20190820171721.GA4949@bombadil.infradead.org> <20191011112525.7dksg6ixb5c3hxn5@linutronix.de> <20191115145638.GA5461@quack2.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191115145638.GA5461@quack2.suse.cz> User-Agent: Mutt/1.12.2 (2019-09-21) Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Fri, Nov 15, 2019 at 03:56:38PM +0100, Jan Kara wrote: > With some effort, we could even shrink struct buffer_head from 104 bytes > (on x86_64) to 96 bytes but I don't think that effort is worth it (I'd find > it better use of time to actually work on getting rid of buffer heads > completely). Is that really realistic? All aside from the very large number of file systems which use buffer_heads that would have to be reworked, the concept of buffer heads is pretty fundamental to how jbd2 is architected. - Ted