diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2016-03-31 17:27:20 -0800 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2016-03-31 18:29:47 -0800 |
commit | d3572c9e8bb2d577af5ed1998a499f0153133057 (patch) | |
tree | b952f8b9168e1366bc0340ba0adbc1fb43d03cf9 /lib/timerqueue.c | |
parent | 9bc9a682905083a45126d57f69131d484f1d8d16 (diff) |
mm: Real pagecache iterators
Introduce for_each_pagecache_page() and related macros, with the goal of
replacing most/all uses of pagevec_lookup().
For the most part this shouldn't be a functional change. The one functional
difference with the new macros is that they now take an @end parameter, so we're
able to avoid grabbing pages in __find_get_pages() that we'll never use.
This patch only does some of the conversions, the ones I was able to easily test
myself - the conversions are mechanical but tricky enough they generally warrent
testing.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions