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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8BE9FC433EF for ; Thu, 31 Mar 2022 12:01:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232508AbiCaMDi (ORCPT ); Thu, 31 Mar 2022 08:03:38 -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: Precedence: bulk List-ID: X-Mailing-List: bpf@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.