linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mm:cleanup mincore_huge_pmd
@ 2020-09-22  8:34 yuleixzhang
  2020-09-23 14:19 ` Zi Yan
  0 siblings, 1 reply; 2+ messages in thread
From: yuleixzhang @ 2020-09-22  8:34 UTC (permalink / raw)
  To: akpm, willy, ziy; +Cc: linux-kernel, kernellwp, yuleixzhang

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

Signed-off-by: Yulei Zhang <yuleixzhang@tencent.com>
---
 include/linux/huge_mm.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/include/linux/huge_mm.h b/include/linux/huge_mm.h
index 8a8bc46a2432..0365aa97f8e7 100644
--- a/include/linux/huge_mm.h
+++ b/include/linux/huge_mm.h
@@ -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);
-- 
2.17.1


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

* Re: [PATCH] mm:cleanup mincore_huge_pmd
  2020-09-22  8:34 [PATCH] mm:cleanup mincore_huge_pmd yuleixzhang
@ 2020-09-23 14:19 ` Zi Yan
  0 siblings, 0 replies; 2+ messages in thread
From: Zi Yan @ 2020-09-23 14:19 UTC (permalink / raw)
  To: yuleixzhang; +Cc: akpm, willy, linux-kernel, kernellwp, yuleixzhang

[-- Attachment #1: Type: text/plain, Size: 1057 bytes --]

On 22 Sep 2020, at 4:34, yuleixzhang wrote:

> As mincore_huge_pmd() was dropped, remove the declaration from
> the head file huge_mm.h.
>
> Signed-off-by: Yulei Zhang <yuleixzhang@tencent.com>
> ---
>  include/linux/huge_mm.h | 3 ---
>  1 file changed, 3 deletions(-)
>
> diff --git a/include/linux/huge_mm.h b/include/linux/huge_mm.h
> index 8a8bc46a2432..0365aa97f8e7 100644
> --- a/include/linux/huge_mm.h
> +++ b/include/linux/huge_mm.h
> @@ -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);
> -- 
> 2.17.1

LGTM. Reviewed-by: Zi Yan <ziy@nvidia.com>

Thanks.

—
Best Regards,
Yan Zi

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 854 bytes --]

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

end of thread, other threads:[~2020-09-23 14:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-22  8:34 [PATCH] mm:cleanup mincore_huge_pmd yuleixzhang
2020-09-23 14:19 ` Zi Yan

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