Page cache: Replace PAGE_CACHE_xx with inline functions V3
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest18 patches 0 repliesNew
V2->V3 from the cover letter
- Audit to check that uses of page->mapping are valid. Improve a couple of places. Make it clearer how the mappings are determined and handled (see the comments of each patch for detailed descriptions).
- Use a consistent method to determine the mapping if a function already does determine the inode via page->mapping->host.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/18 | Define functions for page cache handlinginclude/ | +49 | 0 replies | |
| 2/18 | Use page_cache_xxx functions in mm/filemap.cmm/ | +46 | 0 replies | |
| 3/18 | Use page_cache_xxx in mm/page-writeback.cmm/ | +3 | 0 replies | |
| 4/18 | Use page_cache_xxx in mm/truncate.cmm/ | +18 | 0 replies | |
| 5/18 | Use page_cache_xxx in mm/rmap.cmm/ | +19 | 0 replies | |
| 6/18 | Use page_cache_xxx in mm/filemap_xip.cmm/ | +14 | 0 replies | |
| 7/18 | Use page_cache_xxx in mm/migrate.cmm/ | +2 | 0 replies | |
| 8/18 | Use page_cache_xxx in fs/libfs.cfs/ | +7 | 0 replies | |
| 9/18 | Use page_cache_xxx in fs/syncfs/ | +4 | 0 replies | |
| 10/18 | Use page_cache_xxx in fs/buffer.cfs/ | +65 | 0 replies | |
| 11/18 | Use page_cache_xxx in mm/mpage.cfs/ | +16 | 0 replies | |
| 12/18 | Use page_cache_xxx in mm/fadvise.cmm/ | +4 | 0 replies | |
| 13/18 | Use page_cache_xxx in fs/splice.cfs/ | +14 | 0 replies | |
| 14/18 | Use page_cache_xxx in ext2fs/ | +23 | 0 replies | |
| 15/18 | Use page_cache_xxx in fs/ext3fs/ fs/ | +22 | 0 replies | |
| 16/18 | Use page_cache_xxx in fs/ext4fs/ fs/ | +19 | 0 replies | |
| 17/18 | Use page_cache_xxx in fs/reiserfsfs/ fs/ fs/ +3 more | +42 | 0 replies | |
| 18/18 | Use page_cache_xxx for fs/xfsfs/ fs/ | +32 | 0 replies |
Reviews trailers per patch
All 18 patches have a Reviewed-by or Acked-by.
| Patch | Dave Chinner |
|---|---|
| 1/18 | R-b |
| 2/18 | R-b |
| 3/18 | R-b |
| 4/18 | R-b |
| 5/18 | R-b |
| 6/18 | R-b |
| 7/18 | R-b |
| 8/18 | R-b |
| 9/18 | R-b |
| 10/18 | R-b |
| 11/18 | R-b |
| 12/18 | R-b |
| 13/18 | R-b |
| 14/18 | R-b |
| 15/18 | R-b |
| 16/18 | R-b |
| 17/18 | R-b |
| 18/18 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [patch 00/18] Page cache: Replace PAGE_CACHE_xx with inline functions V3
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-rc6-mm1.
V2->V3:
- Audit to check that uses of page->mapping are valid. Improve a couple of places. Make it clearer how the mappings are determined and handled (see the comments of each patch for detailed descriptions).
- Use a consistent method to determine the mapping if a function already does determine the inode via page->mapping->host.
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>