]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
page cache: Convert find_get_pages_contig to XArray
authorMatthew Wilcox <willy@infradead.org>
Wed, 16 May 2018 22:00:33 +0000 (18:00 -0400)
committerMatthew Wilcox <willy@infradead.org>
Sun, 21 Oct 2018 14:46:34 +0000 (10:46 -0400)
commit3ece58a270cd1e5026282abe778bd50db7a11d08
treeed4feeec0489b4fa9e513e8817363944da48dd3d
parentfd1b3cee2a867868d39bb8cbcc4b00c36d07cc01
page cache: Convert find_get_pages_contig to XArray

There's no direct replacement for radix_tree_for_each_contig()
in the XArray API as it's an unusual thing to do.  Instead,
open-code a loop using xas_next().  This removes the only user of
radix_tree_for_each_contig() so delete the iterator from the API and
the test suite code for it.

Signed-off-by: Matthew Wilcox <willy@infradead.org>
.clang-format
include/linux/radix-tree.h
mm/filemap.c
tools/testing/radix-tree/regression3.c