aboutsummaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorJohannes Weiner <[email protected]>2009-03-31 15:23:29 -0700
committerLinus Torvalds <[email protected]>2009-04-01 08:59:15 -0700
commit2678958e1225f350806d90f211a3b475f64aee80 (patch)
treed4aeb116c78f31f96ffb0760e36b95424e7f9494 /scripts/stackusage
parent88c3bd707c2552bcef93cc3724647903aece159d (diff)
ramfs-nommu: use generic lru cache
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]>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions