Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Instead of open-coding the lru-list-add pagevec batching when expanding a file mapping from zero, defer to the appropriate page cache function that also takes care of adding the page to the lru list. This is cleaner, saves code and reduces the stack footprint by 16 words worth of pagevec. Signed-off-by: Johannes Weiner <[email protected]> Acked-by: David Howells <[email protected]> Cc: Nick Piggin <[email protected]> Acked-by: KOSAKI Motohiro <[email protected]> Cc: Rik van Riel <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: MinChan Kim <[email protected]> Cc: Lee Schermerhorn <[email protected]> Cc: Greg Ungerer <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information