WSL2-Linux-Kernel/fs/ntfs
Minchan Kim 4c99000ac4 ntfs: use add_to_page_cache_lru()
Quote from Nick piggin's about btrfs patch
- http://www.mail-archive.com/linux-btrfs@vger.kernel.org/msg04472.html.

"add_to_page_cache_lru is exported, so it should be used. Benefits over
using a private pagevec: neater code, 128 bytes fewer stack used, percpu
lru ordering is preserved, and finally don't need to flush pagevec
before returning so batching may be shared with other LRU insertions."

Let's use it instead of private pagevec in ntfs, too.

Signed-off-by: Minchan Kim <minchan.kim@gmail.com>
Acked-by: Anton Altaparmakov <aia21@cantab.net>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-05-25 08:07:03 -07:00
..
Kconfig fs/Kconfig: move ntfs out 2009-01-22 13:15:55 +03:00
Makefile NTFS: Fix a mount time deadlock. 2007-10-12 09:16:30 -07:00
aops.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
aops.h mm: make read_cache_page synchronous 2007-05-07 12:12:51 -07:00
attrib.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09: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
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 include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
debug.c NTFS: Fix printk format warnings on ia64. (Randy Dunlap) 2005-05-05 11:11:47 +01:00
debug.h ntfs: don't fool kernel-doc 2008-12-01 19:55:25 -08:00
dir.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09: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 ntfs: use add_to_page_cache_lru() 2010-05-25 08:07:03 -07:00
index.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
index.h [PATCH] fs/ntfs: Conversion to generic boolean 2006-10-01 00:39:19 -07:00
inode.c pass writeback_control to ->write_inode 2010-03-05 13:25:52 -05:00
inode.h pass writeback_control to ->write_inode 2010-03-05 13:25:52 -05:00
layout.h trivial: fix typo "to to" in multiple files 2009-09-21 15:14:55 +02: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 tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
logfile.h ntfs: remove private wrapper of endian helpers 2009-04-01 08:59:18 -07:00
malloc.h mm: replace various uses of num_physpages by totalram_pages 2009-09-22 07:17:38 -07:00
mft.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09: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 include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09: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 ntfs: use bitmap_weight 2010-03-17 18:43:47 -07:00
sysctl.c sysctl: Drop & in front of every proc_handler. 2009-11-18 08:37:40 -08: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: remove private wrapper of endian helpers 2009-04-01 08:59:18 -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