Skip to content

Ranged pagevec lookup

Jan Kara linux-ext4 linux-fsdevel linux-mm 2 versions – Applied

Status from this message: [merged] mm-remove-nr_pages-argument-from-pagevec_lookup_range.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest10 patches 1 replyApplied 10/10
  2. v135 patches 5 repliesSuperseded

Patches in v2 All 10 applied

#Subject and filesSizeRepliesApplied
1/10fscache: Remove unused ->now_uncached callbackDocumentation/filesystems/caching/netfs-api.txt fs/9p/cache.c fs/afs/cache.c +4 more+0 -1850 repliesApplied
2/10mm: Make pagevec_lookup() update indexfs/buffer.c fs/ext4/file.c fs/ext4/inode.c +8 more+32 -370 repliesApplied
3/10mm: Implement find_get_pages_range()include/linux/pagemap.h include/linux/pagevec.h mm/filemap.c +1 more+65 -240 repliesApplied
4/10fs: Fix performance regression in clean_bdev_aliases()fs/buffer.c+8 -60 repliesApplied
5/10ext4: Use pagevec_lookup_range() in ext4_find_unwritten_pgoff()fs/ext4/file.c+4 -100 repliesApplied
6/10ext4: Use pagevec_lookup_range() in writeback codefs/ext4/inode.c+5 -70 repliesApplied
7/10hugetlbfs: Use pagevec_lookup_range() in remove_inode_hugepages()fs/hugetlbfs/inode.c+2 -161 replyApplied
8/10fs: Use pagevec_lookup_range() in page_cache_seek_hole_data()fs/buffer.c+3 -130 repliesApplied
9/10mm: Use find_get_pages_range() in filemap_range_has_page()mm/filemap.c+4 -70 repliesApplied
10/10mm: Remove nr_pages argument from pagevec_lookup{,_range}()fs/buffer.c fs/ext4/file.c fs/ext4/inode.c +5 more+13 -180 repliesApplied

Reviews trailers per patch

1 of 10 patches has a Reviewed-by or Acked-by.

PatchMike Kravetz
1/10
2/10
3/10
4/10
5/10
6/10
7/10R-b
8/10
9/10
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH 0/10 v2] Ranged pagevec lookup

Hello,

This patch series was split out of the larger series to clean up pagevec APIs and provide ranged lookups. In this series I make pagevec_lookup() update the index (to be consistent with pagevec_lookup_tag() and also as a preparation for ranged lookups), provide ranged variant of pagevec_lookup() and use it in places where it makes sense. This not only removes some common code but is also a measurable performance win for some use cases (see patch 4/10) where radix tree is sparse and searching & grabing of a page after the end of the range has measurable overhead.

Andrew, can you please consider merging this series?

Full series including dependencies can be also obtained from my git tree:

git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git find_get_pages_range

Opinions and review welcome!

Honza

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>