Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4259561pxu; Wed, 9 Dec 2020 12:18:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJy+GDr6uj0Vi9msIJJtK09r+kjisAlUTwuDSE1nNxYKhOIOXEeexLsX8Ul3a3B5e8iSJ0u5 X-Received: by 2002:a17:906:e24f:: with SMTP id gq15mr3626345ejb.256.1607545128252; Wed, 09 Dec 2020 12:18:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607545128; cv=none; d=google.com; s=arc-20160816; b=CgHGasQL2/meR9wRU5lUfIPsaJpY+IuJcVxVrxo6pef5uu24t/MIpXTbDvra+9Xdxc mcehrhbFuEu4ojLefnmdSNm8zAz7mG6X8XGkkxcmpOPzmxowe1tlWZLOCVacGew9yo96 EJJAWqmG7qAPggbcqK9lcQBO3aHokHiQX7LiBzEkur06DIDZZGjcMMUegcdez3usxIeH 7JgvuDTWdLngho2hJo5H6quYgVSog+BiNgbQdyDM3kANhtrS3zV8OnJE3vdu9CebcOO6 jj+taf4n67xT2EwrkfYtCPegr/fXWg5blDPDqZykQu6wHnVjdCQ7uKN/VIvUM33nJzA4 inRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:reply-to:message-id:subject:cc:to:from :dkim-signature:date; bh=rt5zmOHsBa8IVyTRrfhIKWhzRi0WlI9iabWkoumMGFE=; b=tUKOWV53U0aa2W7agUIi7vFFPg1yn200g+2weac5WaBp2U4SfRcfHriYNjIeZfDmo8 AASb8Knd0aDjl2IYIngHuWZIu2p0CCZJjodXSQ2LPqSaeAISJONx59ardj400w69oVXW OO/q3r+LL9hxxMhGCeHV3tVzHLuiwnyhpdRD2vz9qoGNnM3C8Vy2bfDCfFD2KirTQmmj 6duQSk230IyrTdpQ9kYoQiB0+7p6lehkyds8F1cbzh5NG0oaeggCRTnprccnl5hmELlM xsSDAFnPZqmfAw0wU/HjDLDsVtX+8h2qD+lPpZkpt3YuCun9ZbwoVmkEvaYuHsVRWHke 7IiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PizATpku; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r9si1359205ejr.645.2020.12.09.12.18.10; Wed, 09 Dec 2020 12:18:48 -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=@kernel.org header.s=k20201202 header.b=PizATpku; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731081AbgLIR75 (ORCPT + 99 others); Wed, 9 Dec 2020 12:59:57 -0500 Received: from mail.kernel.org ([198.145.29.99]:52314 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730721AbgLIR75 (ORCPT ); Wed, 9 Dec 2020 12:59:57 -0500 Date: Wed, 9 Dec 2020 09:59:16 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1607536756; bh=8sM2aGR0RHBZfW1NngwzFo47cupDQcvozNvQD103Fts=; h=From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=PizATpkuznwPVPKW0PBMROo2xDQ++syQfPuvuAfXp05bOloBgW3pK9kCGXaiwSgPY nujEM+tLNALs4QKTXWSOOclFBBE8G3Kyf8aUSRBvATcu68KbPoqGYdCHFWWiz0uen5 ZvFqiUjzz83H2TNSKMLyzdHljR94w/CPeYMgMCoJpqIN/k/rbv2rxlErEQ0TyeSr3M M/9q8/FhC+7zNOHiDmOrgIqa3Jck7qAJIdJwvfcfSNIYiAWXYzyl4NlrTBeGYDHdmT 0YtPuTpOSJK1E4zVUmbEme4fMdpZdmMyahZmllKZsdd0Rf/1FxR2L1ABa1eEWZaARX a9w6mpO7OH1iQ== From: "Paul E. McKenney" To: Christoph Hellwig Cc: 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: <20201209175916.GE2657@paulmck-ThinkPad-P72> Reply-To: paulmck@kernel.org References: <20201209011124.GA31164@paulmck-ThinkPad-P72> <20201209011303.32737-1-paulmck@kernel.org> <20201209081710.GA17642@infradead.org> <20201209145702.GA2657@paulmck-ThinkPad-P72> <20201209175306.GC25719@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201209175306.GC25719@infradead.org> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 09, 2020 at 05:53:06PM +0000, Christoph Hellwig wrote: > 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. That would be really useful! I have a number of symbols that should only be used by a few specific in-tree modules, independent of this patch series. For my part, I will see if there is a good mm-related location for this sort of selftest. Thanx, Paul