Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1362814

Re: [PATCH 0/3] fs, mm: get rid of PAGE_CACHE_* and page_cache_{get,release} macros

From Christoph Lameter <cl@linux.com>
Newsgroups linux.kernel
Subject Re: [PATCH 0/3] fs, mm: get rid of PAGE_CACHE_* and page_cache_{get,release} macros
Date 2016-03-22 16:30 +0100
Message-ID <rfwpQ-6oT-7@gated-at.bofh.it> (permalink)
References (2 earlier) <rfb22-8iP-25@gated-at.bofh.it> <rfblo-8qY-15@gated-at.bofh.it> <rfbv6-j7-37@gated-at.bofh.it> <rfbOr-qS-19@gated-at.bofh.it> <rfs2T-37r-47@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/3] fs, mm: get rid of PAGE_CACHE_* and page_cache_{get,release} macros "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> - 2016-03-21 13:10 +0100
  Re: [PATCH 1/3] mm, fs: get rid of PAGE_CACHE_* and  page_cache_{get,release} macros Michal Hocko <mhocko@kernel.org> - 2016-03-21 13:50 +0100
  Re: [PATCH 0/3] fs, mm: get rid of PAGE_CACHE_* and page_cache_{get,release}  macros Christoph Lameter <cl@linux.com> - 2016-03-21 17:30 +0100
    Re: [PATCH 0/3] fs, mm: get rid of PAGE_CACHE_* and  page_cache_{get,release} macros "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> - 2016-03-21 17:40 +0100
      Re: [PATCH 0/3] fs, mm: get rid of PAGE_CACHE_* and page_cache_{get,release}  macros Christoph Lameter <cl@linux.com> - 2016-03-21 18:00 +0100
        Re: [PATCH 0/3] fs, mm: get rid of PAGE_CACHE_* and  page_cache_{get,release} macros "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> - 2016-03-21 18:10 +0100
          Re: [PATCH 0/3] fs, mm: get rid of PAGE_CACHE_* and page_cache_{get,release}  macros Christoph Lameter <cl@linux.com> - 2016-03-21 18:30 +0100
            Re: [PATCH 0/3] fs, mm: get rid of PAGE_CACHE_* and  page_cache_{get,release} macros "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> - 2016-03-22 11:50 +0100
              Re: [PATCH 0/3] fs, mm: get rid of PAGE_CACHE_* and page_cache_{get,release}  macros Christoph Lameter <cl@linux.com> - 2016-03-22 16:30 +0100
  Re: [PATCH 1/3] mm, fs: get rid of PAGE_CACHE_* and  page_cache_{get,release} macros Linus Torvalds <torvalds@linux-foundation.org> - 2016-03-21 18:10 +0100
    Re: [PATCH 1/3] mm, fs: get rid of PAGE_CACHE_* and  page_cache_{get,release} macros "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> - 2016-03-21 18:10 +0100

csiph-web