Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1404974pxf; Fri, 9 Apr 2021 07:39:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxi//O1aC5LcMbFKxhTtThru1ntwcR6oUa9eVwWqFDLfVzayAkKnNez/XedoE98pMtyPCaA X-Received: by 2002:a05:6402:1545:: with SMTP id p5mr17710408edx.155.1617979174767; Fri, 09 Apr 2021 07:39:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617979174; cv=none; d=google.com; s=arc-20160816; b=drMikCckfP2C8OBTV3PUxgjp8BQSUuMoMERBosXxI7Md8OFhIfPZOFAjbFKUCQQcZq m3jLB5u42KcgodjTnyV4b3AurvbVsJ5FKt0NCV9Iplvgsvvgy8s2y23VOLKsrg/OmSHL iQ3Ht248edCHQ6Sd1fR479rQmsxN0+qDsFi2FhOz400wqFizDNV6L23/lndF5TGnEJRr 1rAqNdGY6xl7dgIO3IhYWWUwWfTOpqEDo2+fmCuddh+vO4P+W+zua+tjFgIxUUlXZkjU T7uVkZj+OAWjnZkAj1taL8lEEtpWy7OPHtrmNrgFjnBXQ76Onr01JOeDDgxlPptKoeY5 q8JA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=+K3RMGrwBpTT6UMZAxwuKE/mfBnKMr0kMABeiMthIw0=; b=vnmDD9m0+cIj6bIU2xbacxleZ+hJvlsBxyTRbwWJRgXA/88BENG/iWZiu8gj5511co QC1nKI+0NOxex086xaibsGqx4Obaqdl/DN1j1giU5k9s/YO2XNZGJmm2LjAukkVEJ4eL DD5Teez4xMgqxLfwTIpdn3KZxwJhR0wqi0BpE5/MogZ9NJw2jrkNCYbNGzEc1aYnYifI dxM10PfEbmbnCOkWrgWQeGXuoCh6uAjyVldrQlxdvf0FGBmdcE1wAxyM/UdFnhXXnxz1 Y5vD7m8zKUnTfvakEurgvA58x7iBtjpG82n1gcCVS6QgwBE4qqSJ7KqveufKwNJM7K2a Px0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=IrFySA2e; 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 h4si2392383edn.224.2021.04.09.07.39.11; Fri, 09 Apr 2021 07:39:34 -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=@infradead.org header.s=casper.20170209 header.b=IrFySA2e; 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 S233569AbhDIOhS (ORCPT + 99 others); Fri, 9 Apr 2021 10:37:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231946AbhDIOhS (ORCPT ); Fri, 9 Apr 2021 10:37:18 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C385C061760 for ; Fri, 9 Apr 2021 07:37:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=+K3RMGrwBpTT6UMZAxwuKE/mfBnKMr0kMABeiMthIw0=; b=IrFySA2e2ZVfvgkVhNbb9+AqKF nzn/+JxTXwk30j1doW/l4rfjI0c9HEKteKS/g/wI9Lv0CL6tpDjO/hSN+DTrbeOJgL/Qk3N+I+tza 5hYpc0L0KBM+zBf1Gc2WjM5iUAW7Z7pzOwu4fbybxZew6VVChx3p9ycuf9bZeJmKrib2sodqXb/l3 lHgbBEXwo6eYKlJyEr6TDzg5Tb66bRja8DktiPYKb3+P//36JiuGJQJPOEMf51Vt1+AWvoeLNtYOZ DdtX66+bdvWGrZ7UDzH+Mb6UE4qjHN5PdZmubqrC16GzG+XV4wJSqsc/z9ml+wWOXRWRljVD5DqUP dAZWcWWA==; Received: from willy by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1lUsEl-000V6O-3S; Fri, 09 Apr 2021 14:36:18 +0000 Date: Fri, 9 Apr 2021 15:35:55 +0100 From: Matthew Wilcox To: Theodore Ts'o Cc: neilb@suse.de, peterz@infradead.org, mingo@redhat.com, will@kernel.org, longman@redhat.com, boqun.feng@gmail.com, tglx@linutronix.de, bigeasy@linutronix.de, linux-kernel@vger.kernel.org Subject: Re: [PATCH 03/17] bit_spinlock: Prepare for split_locks Message-ID: <20210409143555.GV2531743@casper.infradead.org> References: <20210409025131.4114078-1-willy@infradead.org> <20210409025131.4114078-4-willy@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 09, 2021 at 10:32:47AM -0400, Theodore Ts'o wrote: > On Fri, Apr 09, 2021 at 03:51:17AM +0100, Matthew Wilcox (Oracle) wrote: > > Make bit_spin_lock() and variants variadic to help with the transition. > > The split_lock parameter will become mandatory at the end of the series. > > Also add bit_spin_lock_nested() and bit_spin_unlock_assign() which will > > both be used by the rhashtable code later. > > > > Signed-off-by: Matthew Wilcox (Oracle) > > This changes the function signature for bit_spin_lock(), if I'm > reading this correctly. Hence, this is going to break git > bisectability; was this patch series separated out for easy of review, > and you were planning on collapsing things into a single patch to > preserve bisectability? It's perfectly bisectable. Before: bit_spin_lock takes two arguments During: bit_spin_lock takes at least two arguments, ignores all but the first two After: bit_spin_lock takes three arguments