Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4167123pxu; Wed, 9 Dec 2020 09:57:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJzNRfgnitn7vm5LtxZaSAKdA2dHxKGV49dF5mSN3GT2MNkphNuGF5zvxq/SsHIErtbEKeqo X-Received: by 2002:a50:e68a:: with SMTP id z10mr3179968edm.66.1607536633561; Wed, 09 Dec 2020 09:57:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607536633; cv=none; d=google.com; s=arc-20160816; b=BpbCANxlo9JJYWnsq5F6qarLaPF6jAZlmFzq+lUGCBI5LRdJFEkW+abLobjM7BJc9Y v9ilC2xS2iO5mg5NTM09Iv6IRLkOTPZUdB/XkNSbtRBRiVHYCKeXW7t8FFp4ufIcX8kz l7tqIaACIUOB/GVndLYrGJLVVyYP7MaNUkTXu6mp7Fu3Zeb4KZyGfFUxcJl/3icrK07o drM4u84hFRuI5LyULL3bGM3v/nRpPhauu334CFOjVL7TEv9LlRIdMgTMcMYFzx7gKM9Y Z0EsQInrb3tqkNAa91MEB1qn9rlZNAkgsBxQYggu0YAgrYTR8FSq5JkuAVHxY4XHFSvv 3qfQ== 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=fL27NHJJV4o8PPIFazAlhTrb/LmmYuac+t8OjbZn+1I=; b=CQ/Ti6waROzkO3qOPuhaK3vS0xBEfZXXjEfuDtc/xxgpZ7EXfXgNgk9O6UIuC0wdiD S9wITfdZG5roFq05Fu+sFAJJtgG/zlCw3UddjsifqV6Gsg7fgULrDCbgKHZepm81qb+t wAhF3VUyBwUPt2GDxiHKrPLFx+JQFEjMb3Wjl03dpl66pXnc363+lfU3Ef1qBATxjQo3 vW9DGWoh98GAjcs06p/Be7y7Z9ycnZeZjPXSg3wrjbT+MyYl6Nqbh2DsADdvGsn+2etK taQZ4H3a+CxksGfksgjRNblgXA+ZP7sO1pA2PXrZeORLtulPodVSVgOcCfIvyNsreClq r/qQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=NFu5MdxX; 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 12si1117113eja.617.2020.12.09.09.56.41; Wed, 09 Dec 2020 09:57:13 -0800 (PST) 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=NFu5MdxX; 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 S1727880AbgLIRx6 (ORCPT + 99 others); Wed, 9 Dec 2020 12:53:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726449AbgLIRx5 (ORCPT ); Wed, 9 Dec 2020 12:53:57 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8737FC0613CF; Wed, 9 Dec 2020 09:53:17 -0800 (PST) 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=fL27NHJJV4o8PPIFazAlhTrb/LmmYuac+t8OjbZn+1I=; b=NFu5MdxXrbYUn+dYqC7lYaYIxy tS8OKT7nzU72PAjOqUpTcLwWH7TJVo9HlBW+hHrZvOlVh4tXQpImBZ3coyvNKuj72XJzyq2FIDFas L6F5o3eE3+Fi2evfrHjJRSCK4cROrZsAvuO+1Cp4J8HiedF+GXWIeKNEY199cBW86e/qi9183/Gmu aqrB+pfEMZl7uREbVep5Pyg7jCxRDyc9pJBtGc8ihD60Gjcc5wPYILfejLpbO15bnwYQpFDxiH4DO 7l9JI1ojkhcD1tdcxxQj31lObxUC9DYZWz+LT1ZPDjNgkQuCOcrqoAtG4nmXvDCl/Mjjz0M+R/+zE NVbVEQVw==; Received: from hch by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1kn3eE-0006pM-UG; Wed, 09 Dec 2020 17:53:07 +0000 Date: Wed, 9 Dec 2020 17:53:06 +0000 From: Christoph Hellwig To: "Paul E. McKenney" Cc: Christoph Hellwig , rcu@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@fb.com, mingo@kernel.org, jiangshanlai@gmail.com, akpm@linux-foundation.org, mathieu.desnoyers@efficios.com, josh@joshtriplett.org, tglx@linutronix.de, peterz@infradead.org, rostedt@goodmis.org, dhowells@redhat.com, edumazet@google.com, fweisbec@gmail.com, oleg@redhat.com, joel@joelfernandes.org, iamjoonsoo.kim@lge.com, andrii@kernel.org, Christoph Lameter , Pekka Enberg , David Rientjes , linux-mm@kvack.org Subject: Re: [PATCH v2 sl-b 1/5] mm: Add mem_dump_obj() to print source of memory block Message-ID: <20201209175306.GC25719@infradead.org> References: <20201209011124.GA31164@paulmck-ThinkPad-P72> <20201209011303.32737-1-paulmck@kernel.org> <20201209081710.GA17642@infradead.org> <20201209145702.GA2657@paulmck-ThinkPad-P72> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201209145702.GA2657@paulmck-ThinkPad-P72> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 09, 2020 at 06:57:02AM -0800, Paul E. McKenney wrote: > On Wed, Dec 09, 2020 at 08:17:10AM +0000, Christoph Hellwig wrote: > > Your two new exports don't actually seem to get used in modular code > > at all in this series. > > Indeed, and I either need to remove the exports or make my test code in > kernel/rcu/rcuscale.o suitable for upstreaming. Or find the appropriate > mm/slab selftest location. I'd rather not export something like this which pokes deep into internals. That being said I've been working on off on a EXPORT_SYMBOL_FOR() that just exports a symbol to one specific module. Hopefully I'll finish it for the next merge window, and with that I'd feel much more comfortable with an export.