Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp290952ybt; Fri, 19 Jun 2020 02:00:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyjDp4ZACV1DKPjT7u3X17H3Y70EhJAOm7/b1Nqc+UrU/203IPXM0km4nYl8eDKYp+1VNfI X-Received: by 2002:a17:906:9257:: with SMTP id c23mr2609129ejx.86.1592557225758; Fri, 19 Jun 2020 02:00:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592557225; cv=none; d=google.com; s=arc-20160816; b=UDAxz8Av6e408Y6dOaio6IhKBKvFDKwtKYlUv2sF3NVk/HTyEs666sCgGowlSqkWVr Z+sOnJ9RZ5E7aCuOztn3ZaDtYrUX45E5TAQpMVW22sfv0VXa6uq/Lb6UdrKS9CTD9/4g Ie8UFkjdoPv1NXFAwU51SrMXQK/fl3fLLGaCt4ekMceXvZQLsVdRWlOlX33vLLiKYP34 MKFdmCuw7CaHaqaRy3DSqDC1GkTUBDrEu2aXsW7KbM/C0yLbsj2uBaqE7SrlXK55KdHq j36Xf03vreR++ax2v41VDNus53J+5C6kh1lKhd4BuN9OZ6PgBqpE4VOeztg4IydmEfob XhXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=dGMZctFRJ8WPOzkGW71dhdTqXlz3zNcIlLghIiekP7E=; b=xaIok5J9AN0Kba/nbyEZ390Yu3zEwKXkHWAT6jdcykPgEkWO1A6AVI4h0PJaCFSrwg dqLPvlnwn4Xti+4KpbEyvqCQMVW1INSDI45a82S1sFzjpO6meiYQfhcOgXXOCQPIzRkw OkD0NZgITlsfRO/pps61NZRZqrdKOZZmMtp1bBb2rhlmw34Aidgp+aIMOb9Ry8AL+j86 +Zs+B+acbPkuUvgm7OTcf7Uc6uypRXJ1f9XGrSpmTVd8vbl5zlH2vfFRRAbjBfz9UCRz Yv26QCZO5ODOjaOlf0Ba54/ArmdPHlXSxApt45opue7s/P1SKgL4TwZdusWxlNSQ89YT 67QQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=1MoH9bQp; 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 u1si3285467ejt.637.2020.06.19.02.00.01; Fri, 19 Jun 2020 02:00:25 -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=fail header.i=@infradead.org header.s=merlin.20170209 header.b=1MoH9bQp; 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 S1731436AbgFSI31 (ORCPT + 99 others); Fri, 19 Jun 2020 04:29:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731341AbgFSI3Y (ORCPT ); Fri, 19 Jun 2020 04:29:24 -0400 Received: from merlin.infradead.org (unknown [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2078EC06174E for ; Fri, 19 Jun 2020 01:29:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.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=dGMZctFRJ8WPOzkGW71dhdTqXlz3zNcIlLghIiekP7E=; b=1MoH9bQpxacdvznBKLcBcbWAXR z1ba1zRxYFeapTkj26KUvCUA7qo0nYhWH/Nv9FBUHBGohAg4HQc7TSs3IPdj7T3scmKybVcjDxF6e nf1cnSAUozZZD8oAt89VAOnb4e+e3gw3hY/J1UdYTLSq4XR4qkdy4wpmPThBDjzy25DzAw1xxMZkN beimukOCQkWQNK/z666cpwHQA9Ga4UzGE6ZZtBTyukYNrWGlEzOQxdYnMEQZ7FjGPnskvMMHAr8yl oq8bA3RWCfYg1MZ4jrt9vgVYAJOTTAp0iuj1Oe0mbHBIhfdTbZKWftk+xzksGbBDY/dMu1qK29HPU pNm1vthg==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jmCOV-0002lp-LB; Fri, 19 Jun 2020 08:29:03 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 2C36F3028C8; Fri, 19 Jun 2020 10:29:02 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 104C4203B7CA2; Fri, 19 Jun 2020 10:29:02 +0200 (CEST) Date: Fri, 19 Jun 2020 10:29:02 +0200 From: Peter Zijlstra To: Axel Rasmussen Cc: Michel Lespinasse , David Howells , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Jonathan Adams , David Rientjes , Ying Han Subject: Re: [RFC PATCH v3 1/1] mmap_lock: add tracepoints around mmap_lock acquisition Message-ID: <20200619082902.GR576905@hirez.programming.kicks-ass.net> References: <20200618222225.102337-1-axelrasmussen@google.com> <20200618222225.102337-2-axelrasmussen@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200618222225.102337-2-axelrasmussen@google.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 18, 2020 at 03:22:25PM -0700, Axel Rasmussen wrote: > > include/linux/lockdep.h | 47 ++++++ > include/linux/mmap_lock.h | 27 ++- > include/linux/rwsem.h | 12 ++ > include/trace/events/mmap_lock.h | 76 +++++++++ > kernel/locking/rwsem.c | 64 +++++++ > mm/Kconfig | 19 +++ > mm/Makefile | 1 + > mm/mmap_lock.c | 281 +++++++++++++++++++++++++++++++ > 8 files changed, 526 insertions(+), 1 deletion(-) > create mode 100644 include/trace/events/mmap_lock.h > create mode 100644 mm/mmap_lock.c This should have been at least a hand-full of patches. Most definitely not a single patch.