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. -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/