commit | 315e995c63a15cb4d4efdbfd70fe2db191917f7a | [log] [tgz] |
---|---|---|
author | Nick Piggin <npiggen@suse.de> | Wed Apr 21 03:18:28 2010 +0000 |
committer | Steve French <sfrench@us.ibm.com> | Wed Apr 21 03:18:28 2010 +0000 |
tree | f04c83f9bfe315cee9d8993d4244fd7ef7aab796 | |
parent | 05ce7bfe547c9fa967d9cab6c37867a9cb6fb3fa [diff] |
[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>