diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2016-03-31 17:27:20 -0800 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2016-09-17 21:24:17 -0800 |
commit | b5125ae3eb008277b3d1148c22edcf005c6d601b (patch) | |
tree | 8234214fa68e16b480bb5653f2c457f5b4359ddd /include/linux/mutex-debug.h | |
parent | a6340a55eaa82a045edb652298173f989bb7a5df (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 'include/linux/mutex-debug.h')
0 files changed, 0 insertions, 0 deletions