Re: [RFC PATCH v3 1/4] filemap: add function filemap_map_folio_range()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 03, 2023 at 09:16:33PM +0800, Yin Fengwei wrote:
> filemap_map_folio_range() maps partial/full folio. Comparing to
> original filemap_map_pages(), it batched updates refcount and
> get minor performance improvement for large folio.
> 
> a self cooked will-it-scale.page_fault3 like app (change file
> write fault to read fault) with xfs filesystem got 2% performance
> gain.

Please delete folio_more_pages() as part of this patch; this was the
only caller.

> +		ret |=	filemap_map_folio_range(vmf, folio,
> +				xas.xa_index - folio->index, addr, nr_pages);

Sorry to nitpick, but there's an extra space between |= and
filemap_map_folio_range() here.





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux