diff options
author | Jan Kara <jack@suse.cz> | 2017-11-15 17:35:26 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-11-15 18:21:04 -0800 |
commit | 9c19a9cb1642c074aa8bc7693cd4c038643960ae (patch) | |
tree | 737f9a60aaf4c3910b9fe4a9598d3f7bcef67c14 /mm/kmemleak.c | |
parent | aef6e415eefada1d25ec7f7775e9a02bc20bf264 (diff) | |
download | linux-stable-9c19a9cb1642c074aa8bc7693cd4c038643960ae.tar.gz linux-stable-9c19a9cb1642c074aa8bc7693cd4c038643960ae.tar.bz2 linux-stable-9c19a9cb1642c074aa8bc7693cd4c038643960ae.zip |
cifs: use find_get_pages_range_tag()
wdata_alloc_and_fillpages() needlessly iterates calls to
find_get_pages_tag(). Also it wants only pages from given range. Make
it use find_get_pages_range_tag().
Link: http://lkml.kernel.org/r/20171009151359.31984-17-jack@suse.cz
Signed-off-by: Jan Kara <jack@suse.cz>
Suggested-by: Daniel Jordan <daniel.m.jordan@oracle.com>
Reviewed-by: Daniel Jordan <daniel.m.jordan@oracle.com>
Cc: Steve French <sfrench@samba.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/kmemleak.c')
0 files changed, 0 insertions, 0 deletions