android_kernel_xiaomi_sm8350/fs/nfs
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
..
callback_proc.c
callback_xdr.c
callback.c SUNRPC: Add address family field to svc_serv data structure 2008-09-29 17:56:56 -04:00
callback.h
client.c NFS: Don't apply NFS_MOUNT_FLAGMASK to text-based mounts 2008-10-07 17:23:56 -04:00
delegation.c
delegation.h
dir.c vmscan: split LRU lists into anon & file sets 2008-10-20 08:50:25 -07:00
direct.c
file.c nfs: remove an obsolete nfs_flock comment 2008-10-07 18:16:21 -04:00
getroot.c
idmap.c
inode.c NFS: Fix a resolution problem with nfs_inode->cache_change_attribute 2008-10-14 19:24:50 -04:00
internal.h NFS: Cleanup nfs_set_port 2008-10-10 14:41:50 -04:00
iostat.h
Makefile
mount_clnt.c NFS: Client mounts hang when exported directory do not exist 2008-10-07 18:19:01 -04:00
namespace.c nfs: BUG_ON in nfs_follow_mountpoint 2008-10-07 18:15:16 -04:00
nfs2xdr.c
nfs3acl.c NFS: missing nfs_fattr_init in nfs3_proc_getacl and nfs3_proc_setacls (resend #2) 2008-10-07 18:16:22 -04:00
nfs3proc.c nfs: authenticated deep mounting 2008-10-07 18:16:22 -04:00
nfs3xdr.c
nfs4_fs.h
nfs4namespace.c nfs: Fix misparsing of nfsv4 fs_locations attribute 2008-10-07 18:17:47 -04:00
nfs4proc.c
nfs4renewd.c
nfs4state.c
nfs4xdr.c
nfsroot.c vfs: Use const for kernel parser table 2008-10-13 10:10:37 -07:00
pagelist.c
proc.c nfs: authenticated deep mounting 2008-10-07 18:16:22 -04:00
read.c
super.c Merge branch 'next' 2008-10-15 15:54:56 -04:00
symlink.c
sysctl.c
unlink.c NFS: Clean up nfs_sb_active/nfs_sb_deactive 2008-10-06 20:08:26 -04:00
write.c NFS: Don't use range_cyclic for data integrity syncs 2008-10-07 18:19:05 -04:00