The patch titled Subject: mm/page_table_check: drop all redundant EXPORT_SYMBOL() has been added to the -mm tree. Its filename is mm-page_table_check-drop-all-redundant-export_symbol.patch This patch should soon appear at https://ozlabs.org/~akpm/mmots/broken-out/mm-page_table_check-drop-all-redundant-export_symbol.patch and later at https://ozlabs.org/~akpm/mmotm/broken-out/mm-page_table_check-drop-all-redundant-export_symbol.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Anshuman Khandual <anshuman.khandual@xxxxxxx> Subject: mm/page_table_check: drop all redundant EXPORT_SYMBOL() Function definitions need not be exported via EXPORT_SYMBOL() mechanism. In this case these functions just get called only inside their wrappers. Even __page_table_check_zero() gets called without such an export. Just drop all these redundant EXPORT_SYMBOL()s. Link: https://lkml.kernel.org/r/20220421070631.1273879-1-anshuman.khandual@xxxxxxx Signed-off-by: Anshuman Khandual <anshuman.khandual@xxxxxxx> Acked-by: Pasha Tatashin <pasha.tatashin@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/page_table_check.c | 5 ----- 1 file changed, 5 deletions(-) --- a/mm/page_table_check.c~mm-page_table_check-drop-all-redundant-export_symbol +++ a/mm/page_table_check.c @@ -150,7 +150,6 @@ void __page_table_check_pte_clear(struct PAGE_SIZE >> PAGE_SHIFT); } } -EXPORT_SYMBOL(__page_table_check_pte_clear); void __page_table_check_pmd_clear(struct mm_struct *mm, unsigned long addr, pmd_t pmd) @@ -163,7 +162,6 @@ void __page_table_check_pmd_clear(struct PMD_SIZE >> PAGE_SHIFT); } } -EXPORT_SYMBOL(__page_table_check_pmd_clear); void __page_table_check_pud_clear(struct mm_struct *mm, unsigned long addr, pud_t pud) @@ -176,7 +174,6 @@ void __page_table_check_pud_clear(struct PUD_SIZE >> PAGE_SHIFT); } } -EXPORT_SYMBOL(__page_table_check_pud_clear); void __page_table_check_pte_set(struct mm_struct *mm, unsigned long addr, pte_t *ptep, pte_t pte) @@ -206,7 +203,6 @@ void __page_table_check_pmd_set(struct m pmd_write(pmd)); } } -EXPORT_SYMBOL(__page_table_check_pmd_set); void __page_table_check_pud_set(struct mm_struct *mm, unsigned long addr, pud_t *pudp, pud_t pud) @@ -221,7 +217,6 @@ void __page_table_check_pud_set(struct m pud_write(pud)); } } -EXPORT_SYMBOL(__page_table_check_pud_set); void __page_table_check_pte_clear_range(struct mm_struct *mm, unsigned long addr, _ Patches currently in -mm which might be from anshuman.khandual@xxxxxxx are mm-page_table_check-drop-all-redundant-export_symbol.patch mm-debug_vm_pgtable-drop-protection_map-usage.patch mm-mmap-clarify-protection_map-indices.patch mm-mmap-add-new-config-arch_has_vm_get_page_prot.patch powerpc-mm-enable-arch_has_vm_get_page_prot.patch arm64-mm-enable-arch_has_vm_get_page_prot.patch sparc-mm-enable-arch_has_vm_get_page_prot.patch mm-mmap-drop-arch_filter_pgprot.patch mm-mmap-drop-arch_vm_get_page_pgprot.patch