Tag: 09cbfeaf1a5a67bfb3201e0c83c810cecb2efa5a

mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macros

Author: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> PAGE_CACHE_{SIZE,SHIFT,MASK,ALIGN} macros were introduced *long* time ago with promise that one day it will be possible to implement page cache with bigger chunks than PAGE_SIZE. This promise never materialized. And unlikely will. We have many places where PAGE_CACHE_SIZE assumed to be equal to PAGE_SIZE. And it’s constant source of confusion …

Continue reading