linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] alloc_tag: export mem_alloc_profiling_key used by modules
@ 2024-07-17  1:16 Suren Baghdasaryan
  2024-07-17  1:16 ` [PATCH 2/2] alloc_tag: outline and export {get|put}_page_tag_ref() " Suren Baghdasaryan
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Suren Baghdasaryan @ 2024-07-17  1:16 UTC (permalink / raw)
  To: akpm
  Cc: kent.overstreet, hch, vbabka, pasha.tatashin, souravpanda,
	keescook, linux-kernel, linux-mm, surenb, kernel test robot

Export mem_alloc_profiling_key as it is used by modules (indirectly via
mem_alloc_profiling_enabled()).

Fixes: 22d407b164ff ("lib: add allocation tagging support for memory allocation profiling")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202407080044.DWMC9N9I-lkp@intel.com/
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
---
 lib/alloc_tag.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/alloc_tag.c b/lib/alloc_tag.c
index 81e5f9a70f22..832f79a32b3e 100644
--- a/lib/alloc_tag.c
+++ b/lib/alloc_tag.c
@@ -15,6 +15,7 @@ EXPORT_SYMBOL(_shared_alloc_tag);
 
 DEFINE_STATIC_KEY_MAYBE(CONFIG_MEM_ALLOC_PROFILING_ENABLED_BY_DEFAULT,
 			mem_alloc_profiling_key);
+EXPORT_SYMBOL(mem_alloc_profiling_key);
 
 struct allocinfo_private {
 	struct codetag_iterator iter;

base-commit: 0434dbe32053d07d658165be681505120c6b1abc
-- 
2.45.2.993.g49e7a77208-goog



^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-07-17 18:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-17  1:16 [PATCH 1/2] alloc_tag: export mem_alloc_profiling_key used by modules Suren Baghdasaryan
2024-07-17  1:16 ` [PATCH 2/2] alloc_tag: outline and export {get|put}_page_tag_ref() " Suren Baghdasaryan
2024-07-17  4:47   ` Christoph Hellwig
2024-07-17  9:30   ` Vlastimil Babka
2024-07-17 16:56     ` Suren Baghdasaryan
2024-07-17 18:24       ` Suren Baghdasaryan
2024-07-17  1:25 ` [PATCH 1/2] alloc_tag: export mem_alloc_profiling_key " Suren Baghdasaryan
2024-07-17  9:25 ` Vlastimil Babka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).