Re: [PATCH v1 05/10] mm: Implement folio_remove_rmap_range()

From: Yu Zhao
Date: Mon Jun 26 2023 - 23:07:08 EST


On Mon, Jun 26, 2023 at 11:14 AM Ryan Roberts <ryan.roberts@xxxxxxx> wrote:
>
> Like page_remove_rmap() but batch-removes the rmap for a range of pages
> belonging to a folio, for effciency savings. All pages are accounted as
> small pages.
>
> Signed-off-by: Ryan Roberts <ryan.roberts@xxxxxxx>
> ---
> include/linux/rmap.h | 2 ++
> mm/rmap.c | 62 ++++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 64 insertions(+)

Sorry for nagging: this can be included in a followup series.