Skip to content

Page cache: Replace PAGE_CACHE_xx with inline functions V2

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 4 repliesIn review

V1->V2 from the cover letter

- Review by Dave Chinner. Multiple improvements and fixes.
- Review by Fengguand Wu with more improvements.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/19Define functions for page cache handlinginclude/linux/pagemap.h+52 -13 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 -40 replies
6/19Use page_cache_xxx in mm/filemap_xip.cmm/filemap_xip.c+14 -140 replies
7/19Use page_cache_xxx in mm/migrate.cmm/migrate.c+1 -11 reply
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+57 -460 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 -130 replies
14/19Use page_cache_xxx in ext2fs/ext2/dir.c+23 -180 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 -180 replies
17/19Use page_cache_xxx in fs/reiserfsfs/reiserfs/file.c fs/reiserfs/inode.c fs/reiserfs/ioctl.c +3 more+40 -290 replies
18/19Use page_cache_xxx for fs/xfsfs/xfs/linux-2.6/xfs_aops.c fs/xfs/linux-2.6/xfs_lrw.c+30 -290 replies
19/19Use page_cache_xxx in drivers/block/rd.cdrivers/block/rd.c+4 -40 replies

Reviews trailers per patch

All 19 patches have a Reviewed-by or Acked-by.

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

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 V2

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.

V1->V2:
- Review by Dave Chinner. Multiple improvements and fixes.
- Review by Fengguand Wu with more improvements.

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>