Page cache cleanup in anticipation of Large Blocksize support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest14 patches 29 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | Define functions for page cache handlinginclude/ | +54 | 3 replies | |
| 2/14 | Pagecache zeroing: zero_user_segment, zero_user_segments and zero_userfs/ fs/ fs/ +20 more | +107 | 0 replies | |
| 3/14 | Use page_cache_xx function in mm/filemap.cmm/ | +38 | 0 replies | |
| 4/14 | Use page_cache_xxx in mm/page-writeback.cmm/ | +3 | 0 replies | |
| 5/14 | Use page_cache_xxx in mm/truncate.cmm/ | +18 | 0 replies | |
| 6/14 | Use page_cache_xxx in mm/rmap.cmm/ | +9 | 0 replies | |
| 7/14 | Use page_cache_xx in mm/filemap_xip.cmm/ | +14 | 0 replies | |
| 8/14 | Use page_cache_xx in mm/migrate.cmm/ | +1 | 0 replies | |
| 9/14 | Use page_cache_xx in fs/libfs.cfs/ | +10 | 0 replies | |
| 10/14 | Use page_cache_xx in fs/sync.fs/ | +4 | 0 replies | |
| 11/14 | Use page_cache_xx in fs/buffer.cfs/ | +56 | 0 replies | |
| 12/14 | Use page_cache_xxx in mm/mpage.cfs/ | +16 | 0 replies | |
| 13/14 | Use page_cache_xxx in mm/fadvise.cmm/ | +4 | 0 replies | |
| 14/14 | Use page_cache_xx in fs/splice.cfs/ | +13 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [patch 00/14] Page cache cleanup in anticipation of Large Blocksize support
This patchset cleans up the page cache handling by replacing open coded shifts and adds through 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. This is in anticipation of support for higher order pages in the page cache (like demonstrated by the Large Blocksize patchset).
It will take some time to get through all of the kernel source code. The patches here convert only the core VM. We can likely do much of the rest against Andrew's tree shortly before the merge window opens for 2.6.23.
This patchset should have no effect. Both PAGE_CACHE_xxx and page_cache-xxx functions can coexist while the conversion is in progress. As long as filesystems / device drivers only use PAGE_SIZE pages they can stay they are even if some file systems and devices start to support higher order pages.
Patchset against 2.6.22-rc4-mm2
After this patchset more cleanups will follow against filesystems. I have patches for 3 filesystems so far.