* [PATCH] mm: unexport apply_to_existing_page_range
@ 2024-12-12 7:34 Christoph Hellwig
2024-12-12 8:07 ` David Hildenbrand
0 siblings, 1 reply; 2+ messages in thread
From: Christoph Hellwig @ 2024-12-12 7:34 UTC (permalink / raw)
To: akpm; +Cc: linux-mm
apply_to_existing_page_range is only used by non-modular code.
Signed-off-by: Christoph Hellwig <hch@lst.de>
---
mm/memory.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/mm/memory.c b/mm/memory.c
index bdf77a3ec47b..a99f56d83cca 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -2999,7 +2999,6 @@ int apply_to_existing_page_range(struct mm_struct *mm, unsigned long addr,
{
return __apply_to_page_range(mm, addr, size, fn, data, false);
}
-EXPORT_SYMBOL_GPL(apply_to_existing_page_range);
/*
* handle_pte_fault chooses page fault handler according to an entry which was
--
2.45.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] mm: unexport apply_to_existing_page_range
2024-12-12 7:34 [PATCH] mm: unexport apply_to_existing_page_range Christoph Hellwig
@ 2024-12-12 8:07 ` David Hildenbrand
0 siblings, 0 replies; 2+ messages in thread
From: David Hildenbrand @ 2024-12-12 8:07 UTC (permalink / raw)
To: Christoph Hellwig, akpm; +Cc: linux-mm
On 12.12.24 08:34, Christoph Hellwig wrote:
> apply_to_existing_page_range is only used by non-modular code.
>
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
> mm/memory.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/mm/memory.c b/mm/memory.c
> index bdf77a3ec47b..a99f56d83cca 100644
> --- a/mm/memory.c
> +++ b/mm/memory.c
> @@ -2999,7 +2999,6 @@ int apply_to_existing_page_range(struct mm_struct *mm, unsigned long addr,
> {
> return __apply_to_page_range(mm, addr, size, fn, data, false);
> }
> -EXPORT_SYMBOL_GPL(apply_to_existing_page_range);
>
> /*
> * handle_pte_fault chooses page fault handler according to an entry which was
Reviewed-by: David Hildenbrand <david@redhat.com>
--
Cheers,
David / dhildenb
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-12-12 8:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-12 7:34 [PATCH] mm: unexport apply_to_existing_page_range Christoph Hellwig
2024-12-12 8:07 ` David Hildenbrand
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox