Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp952305pxb; Fri, 1 Apr 2022 00:03:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyClQj8+ZoJRXhPQ6+WWQ4VzZIafZ0/SNku1gLW1tHZxcgyGfD6RJajC4ue07TdnqwF01UK X-Received: by 2002:a17:907:60cc:b0:6e0:dab3:ca76 with SMTP id hv12-20020a17090760cc00b006e0dab3ca76mr8132719ejc.154.1648796587290; Fri, 01 Apr 2022 00:03:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648796587; cv=none; d=google.com; s=arc-20160816; b=oE81ASYnkSuP6mwrtBLoVggXjFPVOOOWR8NdKRu8vXa9PCWI6hihnXeRAJ6O1U0Uwo t7CLK6a0lxO9HP9YPRKWIHP/Mrua2YYA28zc9yVWpiI+JoDI2gkmtvysDjXUmsosnpI5 2qOkXIvjJj/yIEM4asw5C52ntEJAefeLIRXxF7VsWAIcSE94oVXUB9GWbzqy6d+MVaB5 ahB3IYkzBvneVnmTe+6lD435ShcA40a0z0tzsu8gcVSIAHtpnfUjlV44dzl7TdLemDmP idmABekguxjiG7XJKogXs2cTD3f4cSZ/J2Enr3cvEgbukivZBBQLqkD/JoXY/OYFXOsK O+uw== 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=gjM65KpA0vNRhkW6BTOes5PJMxyCJQiBa6LAwzsgitM=; b=BmkaSntzrBUfkQ6MC3EppyY9VTydOIAslSvJrwOfdHn7QO4PZ9dmx/8ZME/K/6GnYo RmlaO1TbhktamshLxhwQBmxOc00OQ4cYXdoFvToB6Ufs8beJwSnz7Jrr1Vk+t2GDEj1I RpmAkFVMFlvEkHIisW4D5GCQaOeW2wGMB9nr4s9QnXqhKSLXTwS+7/tFtbjp/LY/ImcK ZF9L10fZ0QHjTR92njhTDTphEZqSQgQBrcDeupurdUJ/5b5xJjUV8822QWtKIBHRrzRJ TVDfIIaarCeytSOj0zAbjSSOiqNmQt2dtAwZRPhUbGbO6Gk1F1lGclFy5ELIjIPzosHR YsSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=uUq3v8mn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g6-20020a170906c18600b006df76385c7dsi1100616ejz.285.2022.04.01.00.02.39; Fri, 01 Apr 2022 00:03:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=uUq3v8mn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235498AbiCaMDv (ORCPT + 99 others); Thu, 31 Mar 2022 08:03:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235837AbiCaMCu (ORCPT ); Thu, 31 Mar 2022 08:02:50 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BC223C6EC4; Thu, 31 Mar 2022 04:59:53 -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=gjM65KpA0vNRhkW6BTOes5PJMxyCJQiBa6LAwzsgitM=; b=uUq3v8mnX6pXflbOjhitICD/xV d8r5C/KCuIzUYw8FhcBWsUPwgldnBwPL3CHfsVMWVYB70Jx1ztDyCBKpKJEuA7OPD2IGjMnbxMJRf 9R2LzYIGcYGq603xH2fM7tR4IYabi97VGkfCsIfGMqM2HusnveGsd28cz7gvnTTO/VppMLwO5csyk VCtef3RLpxaW0CGal/jOxe8yd8Xvm1NmFaX9AkfqZzgYmVm04qJpqvG5sDGhnXOT0dnFIBeiHUMSD 2wZscNNT6Cb2S6mo8NziBzdRDgN3J1bXCiir1W7WGfBBjQEmaxx/M337uzbPW6/G14HbG4Puv/TfS DaxpgOKg==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=worktop.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nZtSQ-002BMA-1C; Thu, 31 Mar 2022 11:59:18 +0000 Received: by worktop.programming.kicks-ass.net (Postfix, from userid 1000) id 52D3B9861D6; Thu, 31 Mar 2022 13:59:16 +0200 (CEST) Date: Thu, 31 Mar 2022 13:59:16 +0200 From: Peter Zijlstra To: Namhyung Kim Cc: Ingo Molnar , Will Deacon , Waiman Long , Boqun Feng , LKML , Thomas Gleixner , Steven Rostedt , Byungchul Park , "Paul E. McKenney" , Mathieu Desnoyers , Arnd Bergmann , Radoslaw Burny , linux-arch , bpf , Hyeonggon Yoo <42.hyeyoo@gmail.com> Subject: Re: [PATCH 2/2] locking: Apply contention tracepoints in the slow path Message-ID: <20220331115916.GU8939@worktop.programming.kicks-ass.net> References: <20220322185709.141236-1-namhyung@kernel.org> <20220322185709.141236-3-namhyung@kernel.org> <20220328113946.GA8939@worktop.programming.kicks-ass.net> <20220330110853.GK8939@worktop.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 30, 2022 at 12:03:06PM -0700, Namhyung Kim wrote: > On Wed, Mar 30, 2022 at 4:09 AM Peter Zijlstra wrote: > > > > On Mon, Mar 28, 2022 at 10:48:59AM -0700, Namhyung Kim wrote: > > > > Also, if you were to add LCB_F_MUTEX then you could have something like: > > > > > > Yep, I'm ok with having the mutex flag. Do you want me to send > > > v5 with this change or would you like to do it by yourself? > > > > I'll frob my thing on top. No need to repost. > > Cool, thanks for doing this! I've since pushed out the lot to: git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git locking/core It builds, but I've not actually used it. Much appreciated if you could test.