Re: [v2 PATCH] mm: gup: remove FOLL_SPLIT

From: Jason Gunthorpe
Date: Thu Apr 01 2021 - 14:28:53 EST


On Tue, Mar 30, 2021 at 01:38:59PM -0700, Yang Shi wrote:
> Since commit 5a52c9df62b4 ("uprobe: use FOLL_SPLIT_PMD instead of FOLL_SPLIT")
> and commit ba925fa35057 ("s390/gmap: improve THP splitting") FOLL_SPLIT
> has not been used anymore. Remove the dead code.
>
> Reviewed-by: John Hubbard <jhubbard@xxxxxxxxxx>
> Signed-off-by: Yang Shi <shy828301@xxxxxxxxx>
> ---
> v2: Remove the reference in documentation.
>
> Documentation/vm/transhuge.rst | 5 -----
> include/linux/mm.h | 1 -
> mm/gup.c | 28 ++--------------------------
> 3 files changed, 2 insertions(+), 32 deletions(-)

Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>

Jason