linux_dsm_epyc7002/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 mm: make read_cache_page synchronous 2007-05-07 12:12:51 -07:00
attrib.c NTFS: Fix read regression. 2007-11-03 12:27:21 -07:00
attrib.h [PATCH] fs/ntfs: Conversion to generic boolean 2006-10-01 00:39:19 -07:00
bitmap.c [PATCH] fs/ntfs: Conversion to generic boolean 2006-10-01 00:39:19 -07:00
bitmap.h [PATCH] fs/ntfs: Conversion to generic boolean 2006-10-01 00:39:19 -07:00
ChangeLog fix typo "insted" -> "instead" 2007-10-20 01:55:04 +02:00
collate.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
collate.h [PATCH] fs/ntfs: Conversion to generic boolean 2006-10-01 00:39:19 -07:00
compress.c fs: rename buffer trylock 2008-08-04 21:56:09 -07:00
debug.c NTFS: Fix printk format warnings on ia64. (Randy Dunlap) 2005-05-05 11:11:47 +01:00
debug.h fs: replace remaining __FUNCTION__ occurrences 2008-04-30 08:29:54 -07:00
dir.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
dir.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
endian.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
file.c vmscan: split LRU lists into anon & file sets 2008-10-20 08:50:25 -07:00
index.c [PATCH] slab: remove SLAB_NOFS 2006-12-07 08:39:23 -08:00
index.h [PATCH] fs/ntfs: Conversion to generic boolean 2006-10-01 00:39:19 -07:00
inode.c NTFS: Fix a mount time deadlock. 2007-10-12 09:16:30 -07:00
inode.h NTFS: 2.1.28 - Fix deadlock reported by Sergey Vlasov due to ntfs_put_inode(). 2007-01-18 09:42:48 +00:00
layout.h [PATCH] fs/ntfs: Conversion to generic boolean 2006-10-01 00:39:19 -07:00
lcnalloc.c [PATCH] fs/ntfs: Conversion to generic boolean 2006-10-01 00:39:19 -07:00
lcnalloc.h [PATCH] fs/ntfs: Conversion to generic boolean 2006-10-01 00:39:19 -07:00
logfile.c NTFS: Fix a mount time deadlock. 2007-10-12 09:16:30 -07:00
logfile.h [PATCH] fs/ntfs: Conversion to generic boolean 2006-10-01 00:39:19 -07:00
Makefile NTFS: Fix a mount time deadlock. 2007-10-12 09:16:30 -07:00
malloc.h is_vmalloc_addr(): Check if an address is within the vmalloc boundaries 2008-02-05 09:44:14 -08:00
mft.c fs: rename buffer trylock 2008-08-04 21:56:09 -07:00
mft.h [PATCH] fs/ntfs: Conversion to generic boolean 2006-10-01 00:39:19 -07:00
mst.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
namei.c [PATCH] ntfs: use d_add_ci 2008-08-25 01:18:06 -04:00
ntfs.h exportfs: make struct export_operations const 2007-10-22 08:13:21 -07:00
quota.c [PATCH] fs/ntfs: Conversion to generic boolean 2006-10-01 00:39:19 -07:00
quota.h [PATCH] fs/ntfs: Conversion to generic boolean 2006-10-01 00:39:19 -07:00
runlist.c NTFS: Fix a mount time deadlock. 2007-10-12 09:16:30 -07:00
runlist.h NTFS: Add ntfs_rl_punch_nolock() which punches a caller specified hole into a runlist. 2005-09-08 20:26:34 +01:00
super.c SL*B: drop kmem cache argument from constructor 2008-07-26 12:00:07 -07:00
sysctl.c Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
sysctl.h Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
time.h NTFS: Change time to u64 in time.h::ntfs2utc() as it otherwise generates a 2005-05-05 11:01:13 +01:00
types.h [PATCH] fs/ntfs: Conversion to generic boolean 2006-10-01 00:39:19 -07:00
unistr.c [PATCH] slab: remove SLAB_NOFS 2006-12-07 08:39:23 -08:00
upcase.c ntfs: le*_add_cpu conversion 2008-05-24 09:56:08 -07:00
usnjrnl.c [PATCH] fs/ntfs: Conversion to generic boolean 2006-10-01 00:39:19 -07:00
usnjrnl.h NTFS: update homepage 2008-09-02 19:21:37 -07:00
volume.h NTFS: Do more detailed reporting of why we cannot mount read-write by 2006-02-24 10:48:14 +00:00