aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorJohannes Weiner <hannes@cmpxchg.org>2009-03-31 15:23:29 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-04-01 08:59:15 -0700
commit2678958e1225f350806d90f211a3b475f64aee80 (patch)
treed4aeb116c78f31f96ffb0760e36b95424e7f9494 /mm
parentvmscan: print shrink_slab symbol name on negative shrinker objects (diff)
downloadlinux-dev-2678958e1225f350806d90f211a3b475f64aee80.tar.xz
linux-dev-2678958e1225f350806d90f211a3b475f64aee80.zip
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 <hannes@cmpxchg.org> Acked-by: David Howells <dhowells@redhat.com> Cc: Nick Piggin <npiggin@suse.de> Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Cc: Rik van Riel <riel@redhat.com> Cc: Peter Zijlstra <peterz@infradead.com> Cc: MinChan Kim <minchan.kim@gmail.com> Cc: Lee Schermerhorn <Lee.Schermerhorn@hp.com> Cc: Greg Ungerer <gerg@snapgear.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions