Skip to contentSkip to conversation

mm:cleanup mincore_huge_pmd

PATCH Applied yuleixzhang 2 participants 2 messages Sep 22, 2020 – Sep 23, 2020 THP

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mm:cleanup mincore_huge_pmd

As mincore_huge_pmd() was dropped, remove the declaration from the head file huge_mm.h.

---
 include/linux/huge_mm.h | 3 ---
 1 file changed, 3 deletions(-)
include/linux/huge_mm.h +0 -3
index 8a8bc46a2432..0365aa97f8e7 100644
@@ -38,9 +38,6 @@ extern int zap_huge_pmd(struct mmu_gather *tlb,
 extern int zap_huge_pud(struct mmu_gather *tlb,
 			struct vm_area_struct *vma,
 			pud_t *pud, unsigned long addr);
-extern int mincore_huge_pmd(struct vm_area_struct *vma, pmd_t *pmd,
-			unsigned long addr, unsigned long end,
-			unsigned char *vec);
 extern bool move_huge_pmd(struct vm_area_struct *vma, unsigned long old_addr,
 			 unsigned long new_addr,
 			 pmd_t *old_pmd, pmd_t *new_pmd);
Signature · 1 line
2.17.1
reviewer
#1 lore raw
Quoted 24 lines · yuleixzhang

As mincore_huge_pmd() was dropped, remove the declaration from the head file huge_mm.h.

---
 include/linux/huge_mm.h | 3 ---
 1 file changed, 3 deletions(-)
include/linux/huge_mm.h +0 -3
index 8a8bc46a2432..0365aa97f8e7 100644
@@ -38,9 +38,6 @@ extern int zap_huge_pmd(struct mmu_gather *tlb,
 extern int zap_huge_pud(struct mmu_gather *tlb,
 			struct vm_area_struct *vma,
 			pud_t *pud, unsigned long addr);
-extern int mincore_huge_pmd(struct vm_area_struct *vma, pmd_t *pmd,
-			unsigned long addr, unsigned long end,
-			unsigned char *vec);
 extern bool move_huge_pmd(struct vm_area_struct *vma, unsigned long old_addr,
 			 unsigned long new_addr,
 			 pmd_t *old_pmd, pmd_t *new_pmd);
Signature · 1 line
2.17.1

LGTM. Reviewed-by: Zi Yan <[email protected]>

Thanks.

—
Best Regards,
Yan Zi