android_kernel_xiaomi_sm8350/fs/ntfs
Rik van Riel 4f98a2fee8 vmscan: split LRU lists into anon & file sets
Split the LRU lists in two, one set for pages that are backed by real file
systems ("file") and one for pages that are backed by memory and swap
("anon").  The latter includes tmpfs.

The advantage of doing this is that the VM will not have to scan over lots
of anonymous pages (which we generally do not want to swap out), just to
find the page cache pages that it should evict.

This patch has the infrastructure and a basic policy to balance how much
we scan the anon lists and how much we scan the file lists.  The big
policy changes are in separate patches.

[lee.schermerhorn@hp.com: collect lru meminfo statistics from correct offset]
[kosaki.motohiro@jp.fujitsu.com: prevent incorrect oom under split_lru]
[kosaki.motohiro@jp.fujitsu.com: fix pagevec_move_tail() doesn't treat unevictable page]
[hugh@veritas.com: memcg swapbacked pages active]
[hugh@veritas.com: splitlru: BDI_CAP_SWAP_BACKED]
[akpm@linux-foundation.org: fix /proc/vmstat units]
[nishimura@mxp.nes.nec.co.jp: memcg: fix handling of shmem migration]
[kosaki.motohiro@jp.fujitsu.com: adjust Quicklists field of /proc/meminfo]
[kosaki.motohiro@jp.fujitsu.com: fix style issue of get_scan_ratio()]
Signed-off-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Lee Schermerhorn <Lee.Schermerhorn@hp.com>
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-10-20 08:50:25 -07:00
..
aops.c fs: rename buffer trylock 2008-08-04 21:56:09 -07:00
aops.h
attrib.c
attrib.h
bitmap.c
bitmap.h
ChangeLog
collate.c
collate.h
compress.c fs: rename buffer trylock 2008-08-04 21:56:09 -07:00
debug.c
debug.h
dir.c
dir.h
endian.h
file.c vmscan: split LRU lists into anon & file sets 2008-10-20 08:50:25 -07:00
index.c
index.h
inode.c
inode.h
layout.h
lcnalloc.c
lcnalloc.h
logfile.c
logfile.h
Makefile
malloc.h
mft.c fs: rename buffer trylock 2008-08-04 21:56:09 -07:00
mft.h
mst.c
namei.c [PATCH] ntfs: use d_add_ci 2008-08-25 01:18:06 -04:00
ntfs.h
quota.c
quota.h
runlist.c
runlist.h
super.c SL*B: drop kmem cache argument from constructor 2008-07-26 12:00:07 -07:00
sysctl.c
sysctl.h
time.h
types.h
unistr.c
upcase.c ntfs: le*_add_cpu conversion 2008-05-24 09:56:08 -07:00
usnjrnl.c
usnjrnl.h NTFS: update homepage 2008-09-02 19:21:37 -07:00
volume.h