summaryrefslogtreecommitdiff
path: root/kernel/lockdep.c
diff options
context:
space:
mode:
authorRik van Riel <riel@redhat.com>2008-12-02 18:31:52 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2008-12-02 23:50:40 (GMT)
commit9ff473b9a72942c5ac0ad35607cae28d8d59ed7a (patch)
tree32a6eca5447abc95cf7fa8482d1e3f8237806621 /kernel/lockdep.c
parentf1d0b063d993527754f062c589b73f125024d216 (diff)
downloadlinux-9ff473b9a72942c5ac0ad35607cae28d8d59ed7a.tar.xz
vmscan: evict streaming IO first
Count the insertion of new pages in the statistics used to drive the pageout scanning code. This should help the kernel quickly evict streaming file IO. We count on the fact that new file pages start on the inactive file LRU and new anonymous pages start on the active anon list. This means streaming file IO will increment the recent scanned file statistic, while leaving the recent rotated file statistic alone, driving pageout scanning to the file LRUs. Pageout activity does its own list manipulation. Signed-off-by: Rik van Riel <riel@redhat.com> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Tested-by: Gene Heskett <gene.heskett@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/lockdep.c')
0 files changed, 0 insertions, 0 deletions