linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mm: unexport page_init_poison
@ 2022-02-07  6:34 Christoph Hellwig
  2022-02-07 10:33 ` David Hildenbrand
  0 siblings, 1 reply; 2+ messages in thread
From: Christoph Hellwig @ 2022-02-07  6:34 UTC (permalink / raw)
  To: akpm; +Cc: linux-mm

page_init_poison is only used in core MM code, so unexport it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 mm/debug.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/mm/debug.c b/mm/debug.c
index bc9ac87f0e08d0..8b43dbb2f17bea 100644
--- a/mm/debug.c
+++ b/mm/debug.c
@@ -265,5 +265,4 @@ void page_init_poison(struct page *page, size_t size)
 	if (page_init_poisoning)
 		memset(page, PAGE_POISON_PATTERN, size);
 }
-EXPORT_SYMBOL_GPL(page_init_poison);
 #endif		/* CONFIG_DEBUG_VM */
-- 
2.30.2



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

* Re: [PATCH] mm: unexport page_init_poison
  2022-02-07  6:34 [PATCH] mm: unexport page_init_poison Christoph Hellwig
@ 2022-02-07 10:33 ` David Hildenbrand
  0 siblings, 0 replies; 2+ messages in thread
From: David Hildenbrand @ 2022-02-07 10:33 UTC (permalink / raw)
  To: Christoph Hellwig, akpm; +Cc: linux-mm

On 07.02.22 07:34, Christoph Hellwig wrote:
> page_init_poison is only used in core MM code, so unexport it.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>  mm/debug.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/mm/debug.c b/mm/debug.c
> index bc9ac87f0e08d0..8b43dbb2f17bea 100644
> --- a/mm/debug.c
> +++ b/mm/debug.c
> @@ -265,5 +265,4 @@ void page_init_poison(struct page *page, size_t size)
>  	if (page_init_poisoning)
>  		memset(page, PAGE_POISON_PATTERN, size);
>  }
> -EXPORT_SYMBOL_GPL(page_init_poison);
>  #endif		/* CONFIG_DEBUG_VM */

Reviewed-by: David Hildenbrand <david@redhat.com>

-- 
Thanks,

David / dhildenb



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

end of thread, other threads:[~2022-02-07 10:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-07  6:34 [PATCH] mm: unexport page_init_poison Christoph Hellwig
2022-02-07 10:33 ` David Hildenbrand

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).