[Intel-gfx] [PATCH 3/8] mm: Optimise madvise WILLNEED

Johannes Weiner hannes at cmpxchg.org
Wed Aug 26 14:23:15 UTC 2020


On Wed, Aug 19, 2020 at 07:48:45PM +0100, Matthew Wilcox (Oracle) wrote:
> Instead of calling find_get_entry() for every page index, use an XArray
> iterator to skip over NULL entries, and avoid calling get_page(),
> because we only want the swap entries.
> 
> Signed-off-by: Matthew Wilcox (Oracle) <willy at infradead.org>

Acked-by: Johannes Weiner <hannes at cmpxchg.org>


More information about the Intel-gfx mailing list