Messages in this thread | | | Date | Tue, 22 Mar 2016 10:20:09 -0500 (CDT) | From | Christoph Lameter <> | Subject | Re: [PATCH 0/3] fs, mm: get rid of PAGE_CACHE_* and page_cache_{get,release} macros |
| |
On Tue, 22 Mar 2016, Kirill A. Shutemov wrote:
> > Should then not PAGE_CACHE_SIZE take a page parameter and return the > > correct page size? > > Why? What would you achieve by this? > > We already have a way to find out size of page: compoun_order() or > hpage_nr_pages().
Ok that makes sense.
| |