diff options
author | Nick Piggin <npiggen@suse.de> | 2010-04-21 03:18:28 (GMT) |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2010-04-21 03:18:28 (GMT) |
commit | 315e995c63a15cb4d4efdbfd70fe2db191917f7a (patch) | |
tree | f04c83f9bfe315cee9d8993d4244fd7ef7aab796 /fs/cifs/misc.c | |
parent | 05ce7bfe547c9fa967d9cab6c37867a9cb6fb3fa (diff) | |
download | linux-315e995c63a15cb4d4efdbfd70fe2db191917f7a.tar.xz |
[CIFS] use add_to_page_cache_lru
add_to_page_cache_lru is exported, so it should be used. Benefits over
using a private pagevec: neater code, 128 bytes fewer stack used, percpu
lru ordering is preserved, and finally don't need to flush pagevec
before returning so batching may be shared with other LRU insertions.
Signed-off-by: Nick Piggin <npiggin@suse.de>
Reviewed-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/misc.c')
0 files changed, 0 insertions, 0 deletions