Skip to content

Page cache: Replace PAGE_CACHE_xx with inline functions

Christoph Lameter linux-fsdevel linux-mm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest19 patches 36 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/19Define functions for page cache handlinginclude/linux/pagemap.h+54 -04 replies
2/19Use page_cache_xxx functions in mm/filemap.cmm/filemap.c+46 -450 replies
3/19Use page_cache_xxx in mm/page-writeback.cmm/page-writeback.c+3 -30 replies
4/19Use page_cache_xxx in mm/truncate.cmm/truncate.c+18 -170 replies
5/19Use page_cache_xxx in mm/rmap.cmm/rmap.c+9 -45 replies
6/19Use page_cache_xxx in mm/filemap_xip.cmm/filemap_xip.c+14 -141 reply
7/19Use page_cache_xxx in mm/migrate.cmm/migrate.c+1 -10 replies
8/19Use page_cache_xxx in fs/libfs.cfs/libfs.c+7 -50 replies
9/19Use page_cache_xxx in fs/syncfs/sync.c+4 -40 replies
10/19Use page_cache_xxx in fs/buffer.cfs/buffer.c+56 -453 replies
11/19Use page_cache_xxx in mm/mpage.cfs/mpage.c+16 -120 replies
12/19Use page_cache_xxx in mm/fadvise.cmm/fadvise.c+4 -40 replies
13/19Use page_cache_xxx in fs/splice.cfs/splice.c+14 -133 replies
14/19Use page_cache_xxx in ext2fs/ext2/dir.c+23 -175 replies
15/19Use page_cache_xxx in fs/ext3fs/ext3/dir.c fs/ext3/inode.c+22 -200 replies
16/19Use page_cache_xxx in fs/ext4fs/ext4/dir.c fs/ext4/inode.c+19 -173 replies
17/19Use page_cache_xxx in fs/reiserfsfs/reiserfs/file.c fs/reiserfs/inode.c fs/reiserfs/ioctl.c +3 more+41 -293 replies
18/19Use page_cache_xxx for fs/xfsfs/xfs/linux-2.6/xfs_aops.c fs/xfs/linux-2.6/xfs_lrw.c+31 -286 replies
19/19Use page_cache_xxx in drivers/block/rd.cdrivers/block/rd.c+4 -41 reply

Reviews trailers per patch

None of the 19 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDave Chinner
SeriesR-b
1/19
2/19
3/19
4/19
5/19
6/19
7/19
8/19
9/19
10/19
11/19
12/19
13/19
14/19
15/19
16/19
17/19
18/19
19/19

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [patch 00/19] Page cache: Replace PAGE_CACHE_xx with inline functions

This patchset cleans up page cache handling by replacing open coded shifts and adds with inline function calls.

The ultimate goal is to replace all uses of PAGE_CACHE_xxx in the kernel through the use of these functions. All the functions take a mapping parameter. The mapping parameter is required if we want to support large block sizes in filesystems and block devices.

Patchset against 2.6.24-rc3-mm2.

Signature · 5 lines
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>